error 3a lvalue required as left operand of assignment

Solutions on MaxInterview for error 3a lvalue required as left operand of assignment by the best coders in the world

showing results for - "error 3a lvalue required as left operand of assignment"
Nicola
28 Apr 2019
1//You cannot assign something to a numerical constant
2int num1,num2
3if (num1%num2=0) //error
4//You can't assign value of num1%num2 to 0
5//Instead you can check whether (num1%num2) is equal to 0 or not by:
6if (num1%num2==0) // no error
similar questions