Computer Science - Object Oriented Programming Using C++ - Discussion

8. 

Which of the following are valid characters for a numeric literal constant?

[A]. a comma
[B]. a dollar sign ($)
[C]. a percent sign (%)
[D]. a space
[E]. None of the above

Answer: Option E

Explanation:

No answer description available for this question.

Smita said: (Jul 28, 2011)  
What are a valid characters for a numeric literal constants?

Priti said: (Aug 9, 2011)  
Let me know the valid characters for a numeric literal constant.

Manojit said: (Feb 10, 2012)  
Literal constants are invariants whose values are implied by their representations.

Priya said: (Mar 8, 2012)  
We have to declare the numeric as a constant unsing the keyword "const" in the header file.

Eg: const 7

Pravin Chaudhari.. said: (Apr 9, 2012)  
No need to declare in header and all you can use const while declaring variable with const keyword.

Anup Kumar said: (Apr 24, 2012)  
We have to declare the numeric constant using the Keword "const" . That means you can't change that value in that program.

Anju said: (May 30, 2013)  
So just like keywords comma, %, space etc cannot be used for literal constants. Right?

Pallavi said: (Dec 11, 2013)  
What is valid character for numeric literal constant?

Manu said: (Apr 23, 2014)  
Numeric literal constants are basically number that may be of float, string type others like %, # are the punctuation.

Barkha said: (Dec 20, 2016)  
What are valid characters for numeric literal constants?

Omkar said: (Feb 2, 2017)  
Than what is the numeric literal?

Pooja said: (Feb 18, 2019)  
Null is the numeric constant.

Ajay said: (Jun 28, 2019)  
'x' or 'X' is the character literal which can be used with literal constants.

Sultan said: (Sep 27, 2019)  
I think we have to use "macro " here. Am I right?

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.