Answer: D
For “i” value, I am satisfied with @Divyanshu Shukla explanation.
For “j” value, I think its value after the 3 function calls is independent of “bug()” function. Because after the function call memory allocated to “bug() function ” will be removed from the stack frame. So j = 1, is because of globally defined value of j( First line “int j = 1;”).