#include <iostream> using namespace std; int main() { int default = 10; cout << default*2; }
Standard input is empty
prog.cpp: In function 'int main()': prog.cpp:6:13: error: expected unqualified-id before 'default' int default = 10; ^ prog.cpp:7:17: error: expected primary-expression before 'default' cout << default*2; ^
Standard output is empty