0

Explain

What is the output of this code? int a = 3, b = 9,c; cout << (b% a) += 2;

21st Apr 2020, 1:00 PM
RAESEN
RAESEN - avatar
1 Respuesta
0
It's an error know.. Always the syntax should be operator+= something.... Try to store the value of b%a in c and then print c+2 you'll get👍
21st Apr 2020, 2:03 PM
sarada lakshmi
sarada lakshmi - avatar