What is an identifier ? How is it useful in C program ?
Answers
Answered by
0
Explanation:
An identifier is a string of alphanumeric character that begins with an alphabetic character. It is used to identify variables, functions and arrays in C program.
May it help you!
Answered by
0
In C programming, an identifier is a user assigned function or variable.
Explanation:
- An identifier is a series of characters with underscores.
- A programmer uses identifiers to refer certain functions or variables or structures or other elements.
- In C program, certain keywords such as “int” or “break” have specific function. So, those words are not accepted as identifiers.
- Some of the rules are established to create an identifier to avoid confusions. The rules include no two consecutive underscores, should not have more than 115 characters, and so on.
- The keywords are used as identifiers with ‘@’ in front of the words. This type of identifiers are called verbatim identifiers which are strongly discouraged by the programmers.
Similar questions
Hindi,
6 months ago
Math,
6 months ago
Math,
6 months ago
Computer Science,
1 year ago
English,
1 year ago