C++ Identifier :
A C++ identifier is a name used to identity a variable.
Function
Model
Class
Or any identify variable.
These unique names are called identifiers.
Rule Identifier:
👉Identifier may a letter (mybook,a,b) , number(1,2,3,4), underscore(_).
For Example :
👉First Character must be Letter or underscore
👉Blank Space not allowed (This is)
👉Reversed word can't be used to an identifier
👉An identifier can be 1 to 31 character
👉Both upper and lower case
👉👉👉👉👉👉Type Of Identifier👈👈👈👈👈
Two Typ of Identifier
Standard Identifier
User-define Identifier
Standard Identifier
Standard Identifier has a special meaning in c++. Like Cout, Cin is a different function. Users can't change the name because of define in c language.
User-define Identifier
User-define Identifier that defines by the user or program like marks, id, age, Name.
User's own choice change user defines identifier.
Videos:
C++ Tutorial 8 Slide
Free Learning Point
إرسال تعليق
Virtually nothing is impossible in this world if you just put your mind to it and maintain a
positive attitude.