A variable is a name that the compiler assigns to one or more memory location(s). When you declare a variable in a program, you have to specify its type and name. The type of a variable specifies the kind of values that the variable can store and the set of operations that the program can execute on variables.… Read more