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("결과 = %d\n", result); // 6(증가된 a의 값) * 3 + 6 = 24 int c = 6; // 6으로 초기화 int d = 4; // 4로 초기화 result = c * d + (c--); // 이항 연산자 *와 감소 연산자 -- 사용 printf("결과 = %d\n", result); // 6(현재 c의 값) * 4 + 6 = 30 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