1
#include <setjmp.h> jmp_buf env; int loop_jmp(int n){ int c=0; if(setjmp(env)==0){ while(c<n){ c++; if(c==5) longjmp(env,1); } } return c; }