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