Explain what are its uses in c programming?
what is the difference between global variable & static variable declared out side all the function in the file.
Give basis knowledge of web designing ...
void main() { int *ptr; ptr = (int *) 0x400 ; printf("ptr=%d",ptr); } output?
Why Modern OS are interrupt driven?Give an example
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?
Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?
Why c is procedure oriented?
what is the use of fflush() function?
What is the proper way of these job Tell me about there full work
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.
Which command is more efficient? *(ptr+1) or ptr[1]
What does volatile do?