Declaration
Definition:
The act of defining a variable's name and type without assigning a value.
Detailed Explanation
- Declarations introduce variables, constants, functions, or classes to the program.
- They inform the compiler or interpreter about an element’s existence and type.
- Not all declarations assign values — that’s initialization.
Example
// Declaring a variable without initializing // int count;