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


Please Help Members By Posting Answers For Below Questions

What is type qualifiers?

668


What is wrong with this statement? Myname = 'robin';

828


Explain b+ tree?

632


What is use of integral promotions in c?

668


What is the modulus operator?

742






Explain what is a stream?

613


Why c is a mother language?

560


How is pointer initialized in c?

589


Write a code to remove duplicates in a string.

633


Explain how do you override a defined macro?

590


What is the best way to comment out a section of code that contains comments?

786


What is meant by high-order and low-order bytes?

658


How do you determine the length of a string value that was stored in a variable?

652


I have a varargs function which accepts a float parameter?

583


Why do we use null pointer?

609