C | Misc | Question 5
Assume that the size of an integer is 4 bytes. Predict the output?
C
#include <stdio.h> int fun() { puts (\" Hello \"); return 10; } int main() { printf (\"%d\", sizeof (fun())); return 0; } |
(A)
4
(B)
Hello 4
(C)
4 Hello
(D)
Compiler Error
Answer: (A)
Explanation:
Quiz of this Question
Please comment below if you find anything wrong in the above post
Please Login to comment...