#include <stdio.h>void func(){int x = 0;static int y = 0;x++; y++;printf( "%d -- %dn", x, y );}int main(){func();func();return 0;}What will the code above print when it is executed?A. 1-- 1     1 - 1B. 1 -- 1     1 -- 2C. 1 -- 1     2 -- 1D. 1 -- 0     1 -- 0

Showing Answers 1 - 1 of 1 Answers

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions