0

What is the easy way to learn the variables

1st Oct 2017, 1:32 AM
Kishore Kishore
Kishore Kishore - avatar
2 Answers
+ 5
I can't really say this is easy way, but here's some of my points on the question: - Understand that variable's value can change, and which data type is appropriate for the variable. - Practice the use of operators on the variables, how to assign value, modify value, how and when do we cleanup on its resources (e.g pointer) etc. - Practice using variables as function arguments, understand how and when they should be passed by value or by reference etc. I'm pretty sure other learners here have more points to mention regarding variables, maybe I'll add another point if something came up :) Hth, cmiiw
1st Oct 2017, 2:12 AM
Ipang
0
Tnqu
6th Oct 2017, 4:52 AM
Kishore Kishore
Kishore Kishore - avatar