online compiler and debugger for c/c++

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