1.

A non-zero value is returned, if setjmp() returns from a longjmp() function call.(a) false(b) trueI had been asked this question in an interview.I'm obligated to ask this question of Non-Local Jumps in section C Library of C

Answer» CORRECT option is (b) true

Easiest EXPLANATION - The setjmp() macro returns a nonzero value, if the RETURN is from a call to the longjmp() FUNCTION.


Discussion

No Comment Found

Related InterviewSolutions