online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include <stdio.h> #include <stdarg.h> void foo( int w, ... ) { va_list x; va_start( x, w ); while(w--) puts(va_arg( x, char* )); va_end( x ); } int main() { foo(3, "1","2","3"); return 0; }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text



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