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 / ricky dobriyal
hello fnd..i am ricky dobriyal
output:-
Size of a =4
Size of 2.0=8 /* because of double*/
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What are the functions to open and close the file in c language?
Differentiate Source Codes from Object Codes
How can I automatically locate a programs configuration files in the same directory as the executable?
Explain the properties of union. What is the size of a union variable
i = 25;switch (i) {case 25: printf("The value is 25 ");case 30: printf("The value is 30 "); When the above statements are executed the output will be : a) The value is 25 b) The value is 30 c) The value is 25 The value is 30 d) none
write a program to display all prime numbers
What are two dimensional arrays alternatively called as?
What does sizeof int return?
When is a void pointer used?
What math functions are available for integers? For floating point?
Explain can static variables be declared in a header file?
When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?
What are the differences between new and malloc in C?
what is ur strangth & weekness
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.