free c programming course
Wednesday, 9 January 2008
Big collection of c programming language questions with solution
(1)What will be output of following c program?
#include
void main(){
printf("%d",sizeof(3.8));
}
Output: 8
Explanation:
3.8f is float constant, 3.8 is double
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment