Explore topic-wise MCQs in C Programming.

This section includes 6 Mcqs, each offering curated multiple-choice questions to sharpen your C Programming knowledge and support exam preparation. Choose a topic below to get started.

1.

Select the odd one out with respect to type?

A. char
B. int
C. long
D. float
Answer» E.
2.

%f access specifier is used for ________

A. Strings
B. Integral types
C. Floating type
D. All of the mentioned
Answer» D. All of the mentioned
3.

Loss in precision occurs for typecasting from____________

A. char to short
B. float to double
C. long to float
D. float to int
Answer» D. float to int
4.

What is the size of float in a 32-bit compiler?

A. 1
B. 2
C. 4
D. 8
Answer» D. 8
5.

In a 32-bit compiler, which 2 types have same size?

A. char and short
B. short and int
C. int and float
D. float and double
Answer» E.
6.

Which among the following is never possible as an output for float?

A. 3.666666
B. 3.666
C. 3
D. None of the mentioned
Answer» D. None of the mentioned