A
Q. What will be the output of the following C code?
#include printf("%.0f", 4.89);
%.0f Format Specifier:
Rounding Behavior:
Correct Answer:
✅ (D) 5
Bonus Notes:
You must be Logged in to update hint/solution
Q. How to make an infinity loop in C?
Q. Dimensions of an array in C are?
Q. What is the ASCII value of NULL or \0?
Q. In a 32-bit compiler, which 2 types have same size?
Q. If you do not specify a storage class for a Variable?
Q. Which option should be selected to work the following C expression?
Q. What happens after a return?
Q. What is the output of C Program with functions and pointers.?
Discusssion
Login to discuss.