Explore topic-wise MCQs in C.

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

1.

To have GCC inline the given function regardless of the level of optimization, we must declare the function with the attribute _________________

A. optimize_inline
B. packed_inline
C. always_inline
D. level_inline
Answer» C. always_inline
2.

Name the function whose definition can be substituted at a place where its function call is made _________

A. friends function
B. inline function
C. volatile function
D. external function
Answer» C. volatile function