0

What is the better way to define my variable ? Should I use int var = 10 or int var (10) ? = or () ?

15th Sep 2016, 9:50 AM
MARINA
MARINA - avatar
4 odpowiedzi
+ 3
Your choice.
15th Sep 2016, 9:55 AM
Zen
Zen - avatar
+ 1
it is the same. you can also add a third way introduced by C++11 int var = {10};
15th Sep 2016, 12:00 PM
basslo81
basslo81 - avatar
+ 1
it's good by going by = operator, it's easier for me😀
20th Sep 2016, 4:03 AM
dheeraj rana
dheeraj rana - avatar
0
same
16th Sep 2016, 2:35 AM
Franco Muñiz
Franco Muñiz - avatar