What is the difference between declaration and definition of a variable/function.
Declaration of a variable/function simply declares that the variable/function exists somewhere in the program but the memory is not allocated for them. But the declaration of a variable/function serves an important role. And that is the type of the variable/function. Therefore, when a variable is… Read More »What is the difference between declaration and definition of a variable/function.