+ 2
[Solve]Problem with c++ in code block
using variable_name * = 3 , I already declare the variable is 1 . cant print out couz expected primary-expression before = problem . at line 2 int a = 1; a * = 3 ; // having problem right here
1 Resposta
+ 5
Delete the space before the '=', the operator should look like this:
a *= 3; // <- *= not the same with * =