/*
#include <stdio.h>
int main()
{
printf("Hello world");
return 0;
}
#include <stdio.h>
int main()
{
printf("Hello");
return 0;
}
, 콤마
. 닷
; 세미콜론 (명령의 끝에 무조건!꼭! 붙여줘야해요!)
*/
/*
#include <stdio.h>
int main()
{
printf("Hello World");
return 0;
}
/ 슬래시
\ 백슬래시
줄바꿈 \n
*/
/*
#include <stdio.h>
int main()
{
printf("Hello\nWorld");
return 0;
}
*/
/*
#include <stdio.h>
int main()
{
printf("'Hello'");
return 0;
}
*/
/*
#include <stdio.h>
int main()
{
printf("\"Hello World\"");
return 0;
}
*/
/*
#include <stdio.h>
int main()
{
printf("\"!@#$%%^&*()\"");
return 0;
}
*/
/* 주석이 여기서부터
#include <stdio.h> -> printf를 컴파일러가 번역하기 위해서
int main()
{
printf("\"C:\\Download\\hello.cpp\"");
return 0; //main 프로그램을 종료해주세요
}
여기까지 주석이예요
*/
// ; 세미콜론 - 명령이 끝났어요!
/*
#include <stdio.h>
int main()
{
printf("\"C:\\Download\\hello.cpp\"");
return 0; //main 프로그램을 종료해주세요
}
*/
#include <stdio.h>
int main()
{
printf("special characters\n");
printf("[\\n,\\\",\\\\] is very important.");
return 0;
}