online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include<iostream> using namespace std; int main () { int i, j,temp; int a[5] = {10,2,0,43,12}; cout <<"Arreglo de entrada ...\n"; for(i=0; i<5; i++) { cout<<a[i]<<"\t"; } cout<<endl; for (i=1; i<5;i++){ for (j=0; j< 5-i; j++){ if(a[j] > a[j+1]) { temp = a[j]; a[j] = a[j+1]; a[j+1] = temp; } } } cout<<"Arreglo Ordenado ...\n"; for(i=0; i<5; i++) { cout<<a[i]<<"\t"; } 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