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 / chandrashekhar
In turbo c
a::2
2.0::2
GCC
a::4
2.0::2
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
How to declare pointer variables?
Describe newline escape sequence with a sample program?
What are data types in c language?
Do you have any idea how to compare array with pointer in c?
What was noalias and what ever happened to it?
What is the argument of a function in c?
Explain void pointer?
How to declare a variable?
What are loops in c?
How do I round numbers?
How can I change their mode to binary?
Is a house a shell structure?
Explain #pragma statements.
How will you find a duplicate number in a array without negating the nos ?
differentiate built-in functions and user – defined functions.