Explore topic-wise MCQs in C.

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

1.

A less common use of setjmp.h is to create syntax similar to ____________

A. errno
B. variable arguments
C. coroutines
D. retval
Answer» D. retval
2.

The void longjmp( jmp-buf env, int val) function causes setjmp() macro to return _______ value; if val is 0.

A. zero
B. one
C. null
D. no return
Answer» C. null
3.

The header file setjmp.h is used to __________

A. set location specific information
B. control low-level calls and returns to and from functions
C. handle signals reported during a program s execution
D. manipulate strings (character arrays)
Answer» C. handle signals reported during a program s execution