Answer Posted / tamil
Procedural language
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What are dangling pointers? How are dangling pointers different from memory leaks?
swap 2 numbers without using third variable?
What are global variables and how do you declare them?
any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above
The purpose of this exercise is to benchmark file writing and reading speed. This exercise is divided into two parts. a). Write a file character by character such that the total file size becomes approximately >10K. After writing close the file handler, open a new stream and read the file character by character. Record both times. Execute this exercise at least 4 times b). Create a buffer capable of storing 100 characters. Now after generating the characters, first store them in the buffer. Once the buffer is filled up, store all the elements in the file. Repeat the process until the total file size becomes approximately >10K.While reading read a while line, store it in buffer and once buffer gets filled up, display the whole buffer. Repeat the exercise at least 4 times with different size of buffer (50, 100, 150 …). Records the times. c). Do an analysis of the differences in times and submit it in class.
When should the volatile modifier be used?
What are void pointers in c?
Why c is faster than c++?
What is #define in c?
Is there any data type in c with variable size?
What’s a signal? Explain what do I use signals for?
Do string constants represent numerical values?
What is the usage of the pointer in c?
What is a char c?
How many types of errors are there in c language? Explain