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));}

Answers were Sorted based on User's Feedback



Find the output? void main() {float a=2.0; printf("\nSize of a ::%d",sizeof(a..

Answer / guest

2 2

Is This Answer Correct ?    1 Yes 10 No

Post New Answer

More C Interview Questions

What is a memory leak in structures? How can we rectify that?

2 Answers  


main() { int i = 1; int num[] = {1,2,3,4}; num[i] = i++; printf("%d", num[i]); } what will be the output? }

22 Answers   NDS, TCS,


i have a written test in tomorrow

1 Answers   NNN, Value Labs,


What is a stream in c programming?

0 Answers  


wat is the difference between a definition and declaration? float y;---it looks like a declaration..but it s a definition.how?someone explain

3 Answers   TCS,






write a c program to find biggest of 3 number without relational operator?

12 Answers   TCS, Wipro,


When is a null pointer used?

0 Answers  


What is extern variable in c with example?

0 Answers  


what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above

0 Answers  


What is the difference between far and near in c?

0 Answers  


program for following output using for loop? 1 2 3 4 5 2 3 4 5 3 4 5 4 5 5

8 Answers   Infosys,


What is bubble sort in c?

0 Answers  


Categories