Dev c++ Lecture No 3-Beginners-What is Identifiers and Type with Example-2020

Description Admin
Name: Umair Khan
Education: Software Engineer
Degree: Bachelor
Start Series: C++
Simple my introduction Thank you.
Lecture Description:

In this tutorial we are complete define
Ø  What is identifiers?
Ø  What is Type?
Ø  What is Standard Identifier
Ø  What is User Define Identifier Rule Of Identifier

Watch Video

Q&A
What is Identifiers?
Identifiers are names given to different entities such as constants, variables, structures, functions.
Example:
Int  amount, float amount, char amount.
What is Type?
ü Standard 
ü User-Define
v Standard IDENTIFIER
They are the names of operations defined in the standard C++ library. For example: cout is the name of an I/O operation.
v For Example
ü Cout
ü #include<iostream>
ü Using name Space std
v User-Define IDENTIFIER
ü An identifier is a string of alphanumeric characters
v For Example
ü Name
ü Marks
ü Age
Rule Of IDENTIFIER
Ø Letter ,Number or Underscore
Ø First character must be Letter or Underscore
Ø Blank Space not allowed
Ø Reversed Word can’t be used
Ø An Identifier can be 1 to 31 character
Ø Both upper and lower case or allowed

No comments:

Post a Comment

Pages