online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <stdio.h> // 표준 입출력 함수 int main(){ // 프로그램 시작, main 함수 정의 printf("%d %c %f\n", 10, 'z', 11.23); // 각 필드에 공백(스페이스바) 삽입, 각각의 형식지정자는 10, z, 11.230000을 출력, 줄 바꿈(\n) printf("%d\t %c\t %f\n", 10, 'z', 14.23); // 탭(\t) 문자, 줄 바꿈(\n), 위의 출력값 사이에 탭(\t)만큼 너비 이동 printf("슬램덩크 강백호는 %d 등번호\n", 10); // %d는 10을 출력 printf("등번호 %6d\n", 10); // %6d는 너비 6, 오른쪽 정렬 printf("등번호 %-6d\n", 10); // %-6d는 너비 6, 왼쪽 정렬 printf("강백호의 올해 필드 성공률이 %8.2f으로 오른 것으로 보인다.\n", 11.23); // %8.2f는 너비 8, 소수점 아래 두자리(반올림함), 오른쪽 정렬 printf("강백호의 올해 자유투 성공률이 %08.2f으로 오른 것으로 보인다.\n", 14.23); // %08.2f는 너비 8, 소수점 아래 두자리(반올림함), 오른쪽 정렬, 남는 부분 0 채움 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