online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include <stdio.h> int print_array(int z[5]); int main() { int result = 0; int x[5]; for(int y = 0; y<5; y++) { scanf("%d",&x[y]); int ost = x[y]%3; if(ost==0) { result=1; } else { x[y]=0; } } print_array(x); return 0; } int print_array(int z[5]) { for(int a = 0; a<5;a++) { printf("%d",z[a]); } 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.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue