#include <iostream> using namespace std; int main() { int num1 = 7; num1 = num1 * 2 + 1; cout << num1 << endl; num1 = 7; num1++ *= 2 cout << num1 << endl; return 0; }
Standard input is empty
prog.cpp: In function ‘int main()’: prog.cpp:14:12: error: lvalue required as left operand of assignment num1++ *= 2 ^
Standard output is empty