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 |
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.
Note: you cannot use the keywords as a name of variables.
Continue learning:
- Introduction to c++ programming
- Basic features and concepts of c++ programming
- structure of a simple c++ program
- A simple c++ program
- Data types and variables in c++ programming
- Logical operators in c++ programming
- If statement in c++ programming
- While and do while statements in c++ programming
- for loop in c++ programming
- Array in c++ programming
- Two or multidimensional array.
- Types of function in c++ programming.
- functions in c++ programming
- Categories of functions in c++ programming
- Reference variable in c++ programming
- function overloading in c++ programming
- Inline function in c++ programming
- Defaults arguments in c++ programming
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: