Computer Science - Object Oriented Programming Using C++ - Discussion
Discussion Forum : Object Oriented Programming Using C++ - Section 1 (Q.No. 8)
8.
Which of the following are valid characters for a numeric literal constant?
Discussion:
15 comments Page 1 of 2.
Rex said:
4 years ago
What is the numeric literal? Please explain.
(1)
Sultan said:
6 years ago
I think we have to use "macro " here. Am I right?
(1)
Ajay said:
6 years ago
'x' or 'X' is the character literal which can be used with literal constants.
Pooja said:
7 years ago
Null is the numeric constant.
(1)
Omkar said:
9 years ago
Than what is the numeric literal?
Barkha said:
9 years ago
What are valid characters for numeric literal constants?
Manu said:
1 decade ago
Numeric literal constants are basically number that may be of float, string type others like %, # are the punctuation.
Pallavi said:
1 decade ago
What is valid character for numeric literal constant?
Anju said:
1 decade ago
So just like keywords comma, %, space etc cannot be used for literal constants. Right?
Anup Kumar said:
1 decade ago
We have to declare the numeric constant using the Keword "const" . That means you can't change that value in that program.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers