#include <iostream> using namespace std; int main() { // Type your code here, or load an example. int = num; num = 2; return num * num; return 0; }
Standard input is empty
prog.cpp: In function ‘int main()’: prog.cpp:6:6: error: expected unqualified-id before ‘=’ token int = num; ^ prog.cpp:7:2: error: ‘num’ was not declared in this scope num = 2; ^~~ prog.cpp:7:2: note: suggested alternative: ‘enum’ num = 2; ^~~ enum
Standard output is empty