Advertisements
Advertisements
प्रश्न
Describe the differences between keywords and identifiers?
अंतर स्पष्ट करें
Advertisements
उत्तर
Keywords:
- Keywords are reserved words that convey specific meaning to the C++ compiler.
- They are essential elements to construct C++ programs.
- Most of the keywords are common to C, C++, and Java.
Identifiers:
- Identifiers are the user-defined names given to different parts of the C++ program.
- They are the fundamental building blocks of a program.
- Every language has specific rules for naming the identifiers.
shaalaa.com
Lexical Units (Tokens)
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
APPEARS IN
संबंधित प्रश्न
Which of the following statements is not true?
Which of the following is a valid string literal?
Which of the following is called compile-time operators?
Can keywords be used as identifiers?
The following constant is of which type?
04.14
Is C++ case sensitive? What is meant by the term “case sensitive”?
Differentiate “=” and “==”.
Consider the following C++ statement. Are they equivalent?
char ch = 67;
char ch = ‘C’;
Determine which of the following are valid constant? And specify their type.
‘Name’
Determine which of the following are valid constant? And specify their type.
27,822
