online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include <stdio.h> void func(void); //function declaration static int count = 5; //static global variable main() { while(count--) { func(); } return 0; } void func( void ) //function definition { static int i = 5; // local static variable * i++; printf("i is %d and count is %d\n", i, count); }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text



Program is not being debugged. Click "Debug" button to start program in debug mode.