Explain what are its uses in c programming?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

what is the difference between global variable & static variable declared out side all the function in the file.

2 Answers  


Give basis knowledge of web designing ...

0 Answers   HCL,


void main() { int *ptr; ptr = (int *) 0x400 ; printf("ptr=%d",ptr); } output?

1 Answers  


Why Modern OS are interrupt driven?Give an example

3 Answers  


34.what are bitwise shift operators? 35.what are bit fields? What is the use of bit fields in a structure declaration? 36.what is the size of an integer variable? 37.what are the files which are automatically opened when a c file is executed? 38.what is the little endian and big endian? 39.what is the use of fflush() function? 40.what is the difference between exit() and _exit() functions? 41.where does malloc() function get the memory? 42.what is the difference between malloc() and calloc() function? 43.what is the difference between postfix and prefix unary increment operators?

0 Answers  


Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?

0 Answers  


Why c is procedure oriented?

0 Answers  


what is the use of fflush() function?

2 Answers  


What is the proper way of these job Tell me about there full work

0 Answers   EDS,


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.

0 Answers  


Which command is more efficient? *(ptr+1) or ptr[1]

3 Answers  


What does volatile do?

0 Answers  


Categories