0

What is an identifier in variables?

7th Sep 2022, 12:34 PM
Fritz
Fritz - avatar
3 Réponses
+ 2
A variable itself ia an identifier. Any valid lexical token in a program that may be identifier, keyword, function name, or class name are all known as identifiers... edit: https://en.m.wikipedia.org/wiki/Identifier_(computer_languages)
7th Sep 2022, 12:41 PM
Jayakrishna 🇮🇳
7th Sep 2022, 12:41 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 2
identifier == something which identifies as being something.. like if you write int cpp=10; here cpp is identifier as its used to identify the value 10 with a name ”cpp” this cpp is an identifier.
7th Sep 2022, 12:45 PM
Prashanth Kumar
Prashanth Kumar - avatar