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 / selvapriya

hi frnds...i think my ans is 2,2

Is This Answer Correct ?    0 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we declare function inside main?

626


What is d'n in c?

716


What is difference between array and pointer in c?

604


can we implement multi-threads in c.

734


What is pivot in c?

632






What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

699


What is a example of a variable?

623


What are the types of unary operators?

738


What is the 'named constructor idiom'?

703


Why is this loop always executing once?

679


Write a code on reverse string and its complexity.

669


How do you define structure?

646


On most computers additional memory that is accessed through an adapter of feature card along with a device driver program. a) user memory b) conventional memory c) expandedmemory d) area

745


Why dont c comments nest?

677


How do you construct an increment statement or decrement statement in C?

837