Home / Programming Questions / C Programming MCQs / Page 3
Dear candidates you will find MCQ questions of C Programming here. Learn these questions and prepare yourself for coming examinations and interviews. You can check the right answer of any question by clicking on any option or by clicking view answer button.
Share your questions by clicking Add Question
A
Q. What will be the output of the following C code?
#include <stdio.h> int main() { float fl = 15.621212121212; printf("%f", fl); }
A
Q. What will be the output of the following C code?
#include printf("%.0f", 4.89);
A
Q. Select the odd one out with respect to type?
A
Q. %f access specifier is used for ________.
A
Q. In the following C code, the union size is decided by?
union temp { char ch; int n; float f; };
A
Q. Loss in precision occurs for typecasting from____________.
A
Q. What is the size of float in a 32-bit compiler?
A
Q. In a 32-bit compiler, which 2 types have same size?
Don't have account? Register here.