online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <stdio.h> int main(void) { // 공백 문자로 필드를 구분 printf("%d %c %f\n", 10, 'z', 11.23); // 탭 문자(\t)와 줄바꿈(\n) 사용 printf("%d\t%c\t%f\n", 10, 'z', 14.23); // 문자열 안에 변수값 삽입 printf("슬램덩크 강백호는 %d 등번호\n", 10); // 총 너비를 6으로 지정하여 우측 정렬 printf("등번호 %6d\n", 10); // 총 너비를 6으로 지정하되, 좌측 정렬 printf("등번호 %-6d\n", 10); // 너비 8, 소수점 둘째 자리까지 출력 (우측 공백 채움) printf("강백호의 올해 필드 성공률이 %8.2f로 오른 것으로 보인다.\n", 11.23); // 너비 8, 소수점 둘째 자리까지 출력하되 빈칸은 0으로 채움 printf("강백호의 올해 자유투 성공률이 %08.2f로 오른 것으로 보인다.\n", 14.23); 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