online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include <stdio.h> void zamiana(int *tab); int main() { int tab[6] = {3,4,2,7,2,9}; printf("Zamiana to\n"); zamiana(tab); return 0; } void zamiana(int *tab) { tab[0] = tab[0] + tab[5]; tab[5] = tab[0] - tab[5]; tab[0] = tab[0] - tab[5]; for (int i=0; i<6; i++) { printf("%d ", tab[i]); } }

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