online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <stdio.h> int main() { int a = 5; // 5로 초기화 int b = 3; // 3으로 초기화 int result; result = a + b + (++a); // 이항 연산자 +와 증가 연산자 ++ 사용 printf("result = %d\n", result); // 6(증가된 a의 값) * 3 + 6(증가된 a의 값) =24 int c = 6; // 6으로 초기화 int d = 4; // 4로 초기화 result = c * d + (c--); // 이항 연산자 *와 증가 연산자 -- 사용 printf("result = %d\n", result); a=10, b=5, c=6; result = ++a * --b + (++c); printf("result = %d\n", result); 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