online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include<stdio.h> #include<conio.h> void main() { int n,i,flag=1; printf("\n\nEnter integer number :\n"); scanf("%d",&n); for(i=2;i<n;++i) { if(n%i==0) {flag=0;break;} } if(flag==1) printf("Prime Number : %d",n); else printf("Not a Prime Number : %d",n); getch(); }

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