0_0_26019603_7734.cpp:14:9: error: stray '\' in program
printf(\n"%d\n",sum);
^
0_0_26019603_7734.cpp: In function 'int main()':
0_0_26019603_7734.cpp:14:18: error: expected ')' before string constant
printf(\n"%d\n",sum);
^
0_0_26019603_7734.cpp:14:28: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
printf(\n"%d\n",sum);
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/locale.h:12:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/clocale:42,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:40,
from 0_0_26019603_7734.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/stdio.h:378:15: note: initializing argument 1 of 'int printf(const char*, ...)'
int __cdecl printf(const char * __restrict__ _Format,...);
^
|