1.

Which of the following header file defines one function longjmp(), and one variable type jmp_buf?(a) stdarg.h(b) locale.h(c) setjmp.h(d) stdlib.hI had been asked this question in an interview.This key question is from Non-Local Jumps topic in portion C Library of C

Answer»

Correct CHOICE is (c) setjmp.h

Explanation: setjmp.h HEADER file defines the macro setjmp(), one FUNCTION longjmp(), and one VARIABLE type jmp_buf.



Discussion

No Comment Found

Related InterviewSolutions