online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include <stdio.h> int main() { int dizi[10] = {1,2,3,4,5,6,7,8,9,10}; printf("Silinecek index'i giriniz: "); int index; scanf("%d", &index); if(index < 0 || index > 10){ printf("Lutfen gecerli bir index giriniz!"); } else{ int i; for(i=index-1; i<10-1; i++){ dizi[i] = dizi[i + 1]; } } int c; for(c=0;c<10;c++){ printf("%d ",dizi[c]); } 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