+ 2

Can we use more than 2 operands?

14th Jul 2016, 3:43 PM
CODER
CODER - avatar
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.
20th Jul 2016, 10:42 PM
Phumus-9
Phumus-9 - avatar
+ 1
yupp
12th Nov 2016, 4:57 PM
Manvi Choudhary
Manvi Choudhary - avatar
0
obviously.....
18th Dec 2016, 11:52 AM
Subham Mandal
Subham Mandal - avatar