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
What does typeof return in c?
Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?
Why clrscr is used in c?
Is c is a middle level language?
What is sorting in c plus plus?
What is difference between stdio h and conio h?
How can I open files mentioned on the command line, and parse option flags?
What is difference between structure and union in c programming?
What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers
Do you know the difference between malloc() and calloc() function?
How do you determine a file’s attributes?
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
what is a function method?give example?
hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .
What is a constant?