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.
APPEARS IN
संबंधित प्रश्न
Which of the following operator is an extraction operator in C++?
Which of the following is called compile-time operators?
The following constant is of which type?
39
Write the following real constant into the exponent form:
0.00005
Assume n = 10; what will be result of n++ and --n;?
Write about Binary operators used in C++.
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.
0.5
Determine which of the following are valid constant? And specify their type.
‘Name’
What are arithmetic operators in C++? Differentiate unary and binary arithmetic operators. Give example for each of them.
