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
Explain what is a const pointer?
What is wild pointer in c?
How can you determine the size of an allocated portion of memory?
cavium networks written test pattern ..
Tell us two differences between new () and malloc ()?
How do I convert a string to all upper or lower case?
An arrangement of information in memory in such a way that it can be easily accessed and processed by a programming language a) string b) data structure c) pointers d) array
What the advantages of using Unions?
What is strcmp in c?
write a c program in such a way that if we enter the today date the output should be next day's date.
What is the use of linkage in c language?
What is sizeof int?
What is the use of define in c?
What is the difference between declaring a variable by constant keyword and #define ing that variable?
why programs in c are running with out #include