Advertisements
Advertisements
प्रश्न
Determine which of the following are valid constant? And specify their type.
27,822
एक पंक्ति में उत्तर
Advertisements
उत्तर
27,822 – Invalid constant. The comma is not allowed.
shaalaa.com
Lexical Units (Tokens)
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 9: Introduction to C++ - Data Types, Variables and Expressions - Evaluation - Section - B [पृष्ठ १५१]
APPEARS IN
संबंधित प्रश्न
Which of the following is a valid string literal?
Can keywords be used as identifiers?
The following constant is of which type?
39
The following constant is of which type?
0XCAFE
Write the following real constant into the exponent form:
0.319
Differentiate “=” and “==”.
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
What are arithmetic operators in C++? Differentiate unary and binary arithmetic operators. Give example for each of them.
