char ch=10;printf("%d",ch);what is the output
Answer Posted / marc
58
Ascii of '0' is 48
thus, ascii of '10' is 48+10=58
| Is This Answer Correct ? | 6 Yes | 14 No |
Post New Answer View All Answers
Explain how are 16- and 32-bit numbers stored?
Describe static function with its usage?
What is pragma in c?
What is static function in c?
How can you tell whether a program was compiled using c versus c++?
#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }
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
What does static variable mean in c?
How do I round numbers?
Explain the use of keyword 'register' with respect to variables.
What does the format %10.2 mean when included in a printf statement?
What's the right way to use errno?
a c code by using memory allocation for add ,multiply of sprase matrixes
how logic is used
What is the difference between the local variable and global variable in c?