0
What is the better way to define my variable ? Should I use int var = 10 or int var (10) ? = or () ?
4 Réponses
+ 3
Your choice.
+ 1
it is the same. you can also add a third way introduced by C++11
int var = {10};
+ 1
it's good by going by = operator, it's easier
for me😀
0
same