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

a simple c program using 'for' loop to display the output 5 4 3 2 1

2 Answers   Google,


Are the outer parentheses in return statements really optional?

0 Answers  


what do the 'c' and 'v' in argc and argv stand for?

0 Answers   TISL,


Compare and contrast compilers from interpreters.

0 Answers  


what is compiler

6 Answers  


What is the difference between macros and inline functions?

5 Answers   Global Edge, L&T,


write a program for odd numbers?

15 Answers  


What is hashing in c language?

0 Answers  


What is #pragma directive?how it is used in the program? what is its advantages and disadvantages?

2 Answers  


a 'c' program to tell that the set of three coordinates lie on a same line

3 Answers   Persistent,


create a C program that displays one z,two y's,three x's until twenty six A's. plzz answer i need it tomorrow.

4 Answers  


Write a function that accepts two numbers,say a and b and makes bth bit of a to 0.No other bits of a should get changed.

2 Answers   Scientific Atlanta, Wipro,


Categories