0

Why create more variables

Does cout << a + b; work the same as int sum = a + b; cout << sum; ?

1st Nov 2016, 12:55 PM
Jeod
Jeod - avatar
1 Answer
+ 2
yes the more variables used easier looks the program.So for new programmers and make easy programming use more variables otherwise output is same.
1st Nov 2016, 1:16 PM
MSK
MSK - avatar