0

What Is the role of variables in building application

2nd Apr 2018, 8:13 AM
Ramesh Vadde
Ramesh Vadde - avatar
2 Answers
+ 6
VariablesĀ play anĀ importantĀ role in computerĀ programmingĀ because they enable programmers to write flexible programs. AĀ variable'sĀ data type indicates what sort of value theĀ variableĀ represents, such as whether it is an integer, a floating-point number, or a character. The opposite of aĀ variableĀ is a constant.
2nd Apr 2018, 8:15 AM
Ekansh
+ 2
A variable is simply is the pairing of a peace of data to a name. E. G. int a=3; int tell the computer we are working with a wholr number. a is the namr that will represent the value. = set pur value rqual to the following data. That makes 3 our data. So "a" is a label that points to the value 3 in memory.
2nd Apr 2018, 10:14 AM
josh mizzi
josh mizzi - avatar