0_0_14960081_17632.cpp:2:11: error: '::main' must return 'int' void main() ^ 0_0_14960081_17632.cpp: In function 'int main()': 0_0_14960081_17632.cpp:7:15: error: expected '}' at end of input printf("%d",c); ^