+ 2
Can we use more than 2 operands?
3 Réponses
+ 2
yes, you can. For example you can write:
[...]
a=b=c=87;
cout <<a <<b <<c;
[...]
output: 878787.
remember that c++ assigns values from right to left, so if u write a=b=c then a and b will have the same value of c, not vice-versa.
Bye.
+ 1
yupp
0
obviously.....