online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <stdio.h> int main(void) { int a, b; char op; // μ‚¬μš©μžμ—κ²Œ β€œλ‘ μ •μˆ˜ λ§μ…ˆ (ex 10 + 20): ” μž…λ ₯을 μœ λ„ printf("두 μ •μˆ˜ λ§μ…ˆ (ex 10 + 20): "); // μ •μˆ˜ β†’ μ—°μ‚°μž β†’ μ •μˆ˜ 순으둜 μž…λ ₯λ°›μŒ scanf("%d %c %d", &a, &op, &b); // μž…λ ₯된 값을 κ·ΈλŒ€λ‘œ 좜λ ₯ν•˜κ³  합을 κ³„μ‚°ν•˜μ—¬ λ³΄μ—¬μ€Œ printf("%d %c %d = %d\n", a, op, b, a + b); 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