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

2 2

Is This Answer Correct ?    1 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages and disadvantages of c language?

577


What are multidimensional arrays?

670


What is structure pointer in c?

592


Compare interpreters and compilers.

652


Why is sprintf unsafe?

644






write a program to copy the string using switch case?

2416


What are reserved words with a programming language?

616


Tell me what is the purpose of 'register' keyword in c language?

631


Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.

740


Can we change the value of #define in c?

594


What do you understand by normalization of pointers?

639


Is it valid to address one element beyond the end of an array?

701


What is a string?

678


general for is %wd,f-d; in this system "w" means a) 'w' represent total width of digits b) 'w' represent width which includes the digits before,after decimal place and the decimal point c) 'w' represent width which includes the digits before only d) 'w' represent width after decimal place only

613


Are bit fields portable?

699