C++ - Reserved Keywords
Reserved Keywords
Reserved Keywords for C++ Programming | |||
---|---|---|---|
asm | else | new | this |
auto | enum | operator | throw |
bool | explicit | private | true |
break | export | protected | try |
case | extern | public | typedef |
catch | false | register | typeid |
char | float | reinterpret_cast | typename |
class | for | return | union |
const | friend | short | unsigned |
const_cast | goto | signed | using |
continue | if | sizeof | virtual |
default | inline | static | void |
delete | int | static_cast | volatile |
do | long | struct | wchar_t |
double | mutable | switch | while |
dynamic_cast | namespace | template |
C++ Keywords | Description |
---|---|
asm | Assembly Language लिखने के लिए इस्तेमाल किया जाता है | |
auto | Storage class का एक प्रकार है | जो Local variable के लिए भी इस्तेमाल होता है | |
bool | boolean variable declare करने के लिए इस्तेमाल होता है | for eg. True और False |
break | Loops या statements को break करने के लिए इस्तेमाल होता है | |
case | Switch case statement को इस्तेमाल करने के लिए होता है | |
catch | throw से exceptions handle करने के लिए इस्तेमाल होता है | |
char | character variable declare करने के लिए इस्तेमाल होता है | |
class | classes को declare करने के लिए इस्तेमाल होता है | |
const | Const ये एक स्थिर variable के लिए इस्तेमाल होता है | |
const_cast | Constant variable को cast किया जाता है | |
continue | Loop को iterate किया जाता है | |
default | Switch case statement के लिए इस्तेमाल होता है | |
delete | Dynamic memory allocation के लिए इस्तेमाल होता है | |
do | एक loop का प्रकार है | जिसके साथ while loop को इस्तेमाल किया जाता है | |
double | floating-point data-type है | |
dynamic_cast | pointer के साथ इस्तेमाल होता है | |
else | if के साथ statement को इस्तेमाल किया जाता है | |
enum | Enumeration data type का 'Keyword' है | |
explicit | Constructor convert करने के लिए इस्तेमाल होता है | |
export | template की definition को export किया जाता है | |
extern | Storage class का एक प्रकार है | जिसका scope global होता है | |
false | Boolean की एक value है | |
float | Floating-point variable को declare करने के लिए इस्तेमाल होता है | |
for | Loop का एक प्रकार है | |
friend | non-member function; private data में access करने के लिए इस्तेमाल होता है | |
goto | एक statement है , जिसमे label होता है | |
if | एक statement है | जिससे condition सही है या गलत इसका पता चलता है | |
inline | function के लिए इस्तेमाल होता है | |
int | integer variable को declare करने के इस्तेमाल होता है | |
long | long integer variable को declare करने के इस्तेमाल होता है | |
mutable | एक storage class का प्रकार है | |
namespace | same idetifiers(variables, functions, classes) अलग-अलग बताने के लिए इस्तेमाल होता है | |
new | Dynamic memory allocation के लिए इस्तेमाल होता है | |
operator | Overloaded operators को declare करने के लिए इस्तेमाल होता है | |
private | Class के private members को declare करने के लिए इस्तेमाल होता है | |
protected | Class के protected members को declare करने के लिए इस्तेमाल होता है | |
public | Class के public members को declare करने के लिए इस्तेमाल होता है | |
register | एक storage class का प्रकार है | |
reinterpret_cast | Variable का cast-type change करने के लिए इस्तेमाल होता है | |
return | function के लिए इस्तेमाल होता है | |
short | short integer variable को declare करने के इस्तेमाल होता है | |
signed | एक variable modifier है | |
sizeof | variable का size return करने के लिए इस्तेमाल होता है | |
static | एक storage class का प्रकार है | |
static_cast | एक type_conversion है | |
struct | structure को define या declare करने के लिए इस्तेमाल होता है | |
switch | एक statement है | |
template | Generic Program को लिखने के लिए इस्तेमाल होता है | |
this | pointer को current object पर लाता है | |
throw | Exception Handling के लिए इस्तेमाल होता है | |
true | Boolean की एक value है | |
try | Exception Handling के लिए इस्तेमाल होता है | |
typedef | data type को alias_name देने के लिए इस्तेमाल होता है | |
typeid | Object का वर्णन किया जाता है | |
typename | Class का alternative है | |
union | ये kayword अपने members को एक ही memory location पर assign किया जाता है | |
unsigned | unsigned integer variable को declare करने के लिए इस्तेमाल किया जाता है | |
using | namespace के साथ इस्तेमाल किया जाता है | |
virtual | Runtime polymorphism के लिए इस्तेमाल होता है | |
void | ये कुछ भी return नहीं करता | |