Keywords In C++

Dear Students, aaj ke is Lecture me hum janege Keywords In C++ ke bare main yani ke keywords kya hote hai. Keywords In C++ use matlab keywords ka C++ language me kya use hai aadi se related ye sare topic ham Keywords In C++ main cover karege.

Lectures Covering Topics

  • Introduction To Keywords In C++ In Hindi
  • What Is Use Keywords In C++
  • Rules For Naming Keywords In C++ In Hindi
  • Example Of Keyword In C++ In Hindi
  • Reserved Words / Keywords In C++ In Hindi

Keywords In C++ language In Hindi

Deer students jaise ke mene aapko btaya hai ke C++ Language ka syntax bahut sari popular language ke help se banaya gya hai. isliye c++ language ka syntax samjhna bahut jaroori hai.

C++ program bahut sare tokens (Identifiers, Keywords, constant, variable) etc se milkar bana hota hai. ham yhan Identifiers ke bare me padenge bache hue tokens ke bare me ham next lectures me appko padayege.

Ham hamare C++ program me jo bhi words use karenge wo Keyword or Identifiers hote honge. Keywords predefine hote hai jise user change nahi kar sakte hai. jabki identifiers ek user define words hote hai.

Variables, Array, Function, Structure etc ko naam dene ke liye identifiers ka use kiya jata hai. In naamo ko dene ke liye bhi C++ programming language me kuch niyam hote hai jinhe ham follow karte hai.

Rules For Naming Keywords In C++ Are Given Below

  • Identifiers me @, % – character nahi use kiye ja sakte hai.
  • First character alphabet or underscore hona chayiye. Digits se identifiers ko start nahi kiya ja sakta.
  • C++ ek Case Sensitive language hai. isliye hmt, Hmt or HMT dono he different identifiers hai.
  • Kisi bhi identifiers ka naam ek keyword nahi hona chayiye. Yani ham wo naam nahi dege jo pahle se keyword define hai.
  • Ham A to Z tak ke small or capital dono tarah ke letters ya fir underscore me kisi bhi identifiers ko start kar sakte hai. uske bad kisi digits ya doosre character, underscore ka use kar sakte hai.

Example Of Keywords In C++

Students mene identifiers ko sahi se samjhne ke liye aapko kuch example dikha rha hu jisme kuch identifiers sahi hai or kuch identifiers galat hai.

  • _code True
  • 123code False
  • Code True
  • Code-name False
  • Code_2 True
  • Code_3_name True

Reserved Words / Keywords In C++

Students kuch eaise bhi words hai jinko pahle se he kcuh specific task ke liye reserve kiya gya hai. Aise words ko ham Keywords kahte hai. C++ language me in words ka pahle se he kuch predefine meaning hai.

Reserved keyword ko hamesha lowercase me likha jata hai. hamare pass C++ language me keval 32 Keywords hote hai jo ki neeche likhe gaye hai.

Keywords Keywords Keywords
auto break case
char constlt continue
default do double
else enum extern
float for goto
if int long
register return shot
signed size of static
struct switch typedef
union unsigned void
volatile while

Note:- In keywords ko ham abhi yhan par explain nahi karege aane wale next lectures me ham in sabhi keywords ke bare me details me padege.

Related Lecture

Dear Students, main aasha karta hun ki aapko Keywords In C++ Ka Lecture padh kar samjh me aa gaya hoga ki kaise keywords kya hote hai. yadi aapako (Keywords In C++) ke Lecture se related koi bhi problem hai to aap hume comment karke puch skte hai.

 

 

Share This Post On

About Author

Thakur Aman Singh

Hey, I am Aman Singh Tomar from Taj City Agra. Through This Blog I want to share my Knowledge with all of you. Read More >>

Leave a Reply

Your email address will not be published. Required fields are marked *