online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include <stdio.h> #include <stdlib.h> int main(void) { int input = 256; int led1, led2, led3, led4, led5, led6, led7, led8, led9; led1 = (input & 1) != 0; led2 = (input & 2) != 0; led3 = (input & 4) != 0; led4 = (input & 8) != 0; led5 = (input & 16) != 0; led6 = (input & 32) != 0; led7 = (input & 64) != 0; led8 = (input & 128) != 0; led9 = (input & 256) != 0; printf("%d", led1); printf("%d", led2); printf("%d", led3); printf("%d", led4); printf("%d", led5); printf("%d", led6); printf("%d", led7); printf("%d", led8); printf("%d", led9); printf("\n"); 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