제출 #115802

#제출 시각아이디문제언어결과실행 시간메모리
115802maho04printf 함수 1 (BSC_0_1)C++14
컴파일 에러
0 ms0 KiB
#include<cstdio> int main() { printf{"Hello World"}; }

컴파일 시 표준 에러 (stderr) 메시지

printf1.cpp: In function 'int main()':
printf1.cpp:4:9: error: expected ';' before '{' token
   printf{"Hello World"};
         ^
printf1.cpp:4:24: warning: statement is a reference, not call, to function 'printf' [-Waddress]
   printf{"Hello World"};
                        ^
printf1.cpp:4:24: warning: statement has no effect [-Wunused-value]