online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <stdio.h> int main() { int age; // variable declaration printf("Enter your age\n"); scanf("%d",&age); // taking user input for age variable // conditional operator (age>=18)?(printf("eligible for voting")):(printf("not eligible for voting")); 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