Submission #115802

# Submission time Handle Problem Language Result Execution time Memory
115802 2019-06-09T07:42:45 Z maho04 printf 함수 1 (BSC_0_1) C++14
Compilation error
0 ms 0 KB
#include<cstdio>
int main()
{
  printf{"Hello World"};
}

Compilation message

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]