Find the output?
void main()
{float a=2.0;
printf("\nSize of a ::%d",sizeof(a));
printf("\nSize of 2.0 ::%d",sizeof(2.0));}
Answer Posted / shashishekhar.eg
Size of a ::4
Size of 2.0 ::8
| Is This Answer Correct ? | 17 Yes | 6 No |
Post New Answer View All Answers
The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?
What is variable declaration and definition in c?
Are the variables argc and argv are always local to main?
What is a good data structure to use for storing lines of text?
What is this pointer in c plus plus?
a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion
What is the difference between char array and char pointer?
writ a program to compare using strcmp VIVA and viva with its output.
Why header files are used?
What are the similarities between c and c++?
What is structure pointer in c?
What is string constants?
Which is better malloc or calloc?
What is a shell structure examples?
What is typedf?