It used to define the member functions of a class outside
1. Keyword
Definition:
A keyword is a reserved word in C language that has a predefined meaning. Keywords cannot be used as names of variables, functions or identifiers.
Examples of Keywords:int, float, if, else, while, return
Example:
int a = 10;
2. Constant
Definition:
A constant is a value that does not change during the execution of a program.
Types of Constants:
Integer constant
Floating constant
Character constant
Example:
#define PI 3.14
3. Identifier
Definition:
An identifier is the name given to a variable, function or array in a program.
Rules for Identifiers:
Must start with a letter or underscore
Should not be a keyword
Example:
int totalMarks;
4. Variable
Definition:
A variable is a memory location used to store data whose value can change during program... Continue reading "It used to define the member functions of a class outside" »
English with a size of 4.24 KB