online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <stdio.h> int main() { char ch; // 문자 ν•˜λ‚˜ μ €μž₯ char str[10]; // λ¬Έμžμ—΄(μ΅œλŒ€ 9κΈ€μž + '\0') μ €μž₯ int i; // μ •μˆ˜ μ €μž₯ float f; // μ‹€μˆ˜ μ €μž₯ // 문자 μž…λ ₯ printf("문자λ₯Ό μž…λ ₯ν•˜μ„Έμš”: "); scanf("%c", &ch); // λ¬Έμžμ—΄ μž…λ ₯ printf("λ¬Έμžμ—΄μ„ μž…λ ₯ν•˜μ„Έμš”: "); scanf("%s", str); // μž…λ ₯ κ²°κ³Ό 좜λ ₯ printf("μž…λ ₯받은 문자: %c\n", ch); printf("μž…λ ₯받은 λ¬Έμžμ—΄: %s\n", str); // μ •μˆ˜ μž…λ ₯ printf("μ •μˆ˜λ₯Ό μž…λ ₯ν•˜μ„Έμš”: "); scanf("%d", &i); // μ‹€μˆ˜ μž…λ ₯ printf("μ‹€μˆ˜λ₯Ό μž…λ ₯ν•˜μ„Έμš”: "); scanf("%f", &f); // μž…λ ₯ κ²°κ³Ό 좜λ ₯ printf("μž…λ ₯받은 μ •μˆ˜: %d\n", i); printf("μž…λ ₯받은 μ‹€μˆ˜: %f\n", f); 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