Advertisements
Advertisements
Question
The following constant is of which type?
0XCAFE
One Line Answer
Solution
OXCAFE – Hexadecimal
shaalaa.com
Lexical Units (Tokens)
Is there an error in this question or solution?
Chapter 9: Introduction to C++ - Evaluation - Section - B [Page 131]
APPEARS IN
RELATED QUESTIONS
Which of the following operator is an extraction operator in C++?
Which of the following is a valid string literal?
What are keywords?
The following constant is of which type?
04.14
Write the following real constant into the exponent form:
23.197
Write the following real constant into the exponent form:
0.319
Describe the differences between keywords and identifiers?
Is C++ case sensitive? What is meant by the term “case sensitive”?
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’