What is the output of below code? main() { static int a=5; printf("%3d",a--); if(a) main(); }
1 3529what is the output of below code int x=8,y; x>>=2; y=x; what is y value. NOTE:EXPLANATION IS COMPALSARY with binary bits
2 4604write a c program to print the next of a particular no without using the arithmetic operator or looping statements?
TCS,
1 3167
What is queue in c?
Why is main function so important?
What are the advantages and disadvantages of pointers?
What is a pointer and how it is initialized?
Explain what does the format %10.2 mean when included in a printf statement?
What is the difference between a string and an array?
What are header files and explain what are its uses in c programming?
Compare interpreters and compilers.
What is the size of enum in c?
If fflush wont work, what can I use to flush input?
How are structure passing and returning implemented?
What is declaration and definition in c?
Lists the benefits of c programming language?
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.
What is uint8 in c?