What is the function of the given longjump(jmp_buf buf, i)?
A. go back to place buf is pointing to and return i
B. go back to place buf is pointing to and return 0
C. uses buf to remember current position and returns 0
D. uses buf to remember current position and returns i
Answer: a
Explanation: In the given function longjmp(jmp_buf buf,i), it goes back to place buf is pointing to and return i.setjmp(jmp_buf buf) uses buf to remember current position to and return 0.