What is variable, how to declare it?

Variables are the basic unit of storage in a programming language. these variables consist of a data type, the variable name, and the value to be assigned to the variable.
Declaration of avariable:

  1. Just name the variable
  2. Assign the required value to it
  3. The data type of the variable will be automatically determined from tghe value assigned
2 Likes

Well Explained @vaishu.swap10112016