#include <iostream>using namespace std; int main() { int a; a=-15/2 printf(a); return 0;}
Standard input is empty
prog.cpp: In function ‘int main()’: prog.cpp:7:2: error: expected ‘;’ before ‘printf’ printf(a); ^~~~~~
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!