Friday, January 18, 2019

Keywords in c++ programming language

in this post, you will learn about the keywords in c++ programming and learn which keyword is same and also in the c programming.

keywords in c++ programming, learn c++ programming
keywords


Keywords in c++ programming language

  • auto
  • break
  • case
  • char
  • const
  • continue
  • default
  • do
  • double
  • else
  • if
  • int 
  • long
  • register
  • return
  • short
  • signed
  • sizeof
  • static
  • struct
  • switch
  • typedef
  • union
  • unsigned
  • void
  • volatile
  • while

these are the keywords which are common in the c and c++ language.

  • and 
  • and_eq 
  • asm_bitand 
  • bitor
  • bool
  • catch
  • class
  • compl
  • const_cast
  • delete
  • dynamic_cast
  • explicit
  • export
  • false
  • friend
  • inline
  • mutable
  • namespace
  • new
  • not
  • not_eq
  • operator
  • or
  • or_eq
  • private
  • protected
  • public
  • reinterpret_cast
  • static_cast
  • template
  • this
  • throw
  • true
  • try
  • typeid
  • typename
  • using
  • virtual
  • wchar_t
  • xor
  • xor_eq

these keywords in only in C++

  • alignas 
  • alignof
  • char16_t
  • char32_t
  • constexpr
  • decltype
  • noexcept
  • nullptr
  • static_assert
  • thread_local

these keywords in c++ 11 standard

C++ 11 is the latest c++ programming language standard. and it's published by ISO/IEC in 2011.

Note: you cannot use the keywords as a name of variables. 

also, read my other posts:

"Please share this knowledge as much possible as you can and also comment me your queries and question related to this topic. "  

0 comments: