char ch=10;printf("%d",ch);what is the output
Answer Posted / vaibhav
it prints the ascii value of 10. inthese case ineger 10
will occupy only 1 byte.
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Does free set pointer to null?
Explain how do you determine a file’s attributes?
Explain what are the standard predefined macros?
What is echo in c programming?
What is the difference between ++a and a++?
What is 1f in c?
Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?
What are the 4 data types?
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 are bitwise shift operators in c programming?
Can you think of a logic behind the game minesweeper.
Explain logical errors? Compare with syntax errors.
Why void is used in c?
what is different between auto and local static? why should we use local static?
What is the difference between single charater constant and string constant?