Advertisements
Advertisements
प्रश्न
Can keywords be used as identifiers?
Advertisements
उत्तर
Most of the keywords are common to C, C++, and Java. Keywords are reserved and cannot be used as identifiers.
APPEARS IN
संबंधित प्रश्न
Which of the following statements is not true?
Which of the following is called compile-time operators?
The following constant is of which type?
032
Assume n = 10; what will be result of n++ and --n;?
Is C++ case sensitive? What is meant by the term “case sensitive”?
Write a short note on the const keyword with an example.
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.
‘\t’
What are arithmetic operators in C++? Differentiate unary and binary arithmetic operators. Give example for each of them.
