+ 3
can i write int a=1, b=2;. ??
22 Answers
+ 6
yes because in c++ it is not necessary to declare every variable to data type.
+ 2
yes
+ 2
yes
+ 1
yes bro
+ 1
yes
0
yes
0
thank you :)
0
yes...of course!
0
yap
0
yes you can
0
yeah
0
Yes . if it works no problem :)
0
yes it will work
0
yes by adding (,) and declaring var is done
0
yes
0
Guys thanks to those with good intention but the rest stop answering to get achievements!! Be serious!!!!!
0
More than one variable can be assigned like this if it belongs to same data types.
- 1
yes
- 1
yes you can
- 1
yes