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?
a comma
a dollar sign ($)
a percent sign (%)
a space
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
15 comments Page 2 of 2.

Pravin chaudhari.. said:   1 decade ago
No need to declare in header and all you can use const while declaring variable with const keyword.

Priya said:   1 decade ago
We have to declare the numeric as a constant unsing the keyword "const" in the header file.

Eg: const 7

Manojit said:   1 decade ago
Literal constants are invariants whose values are implied by their representations.

Priti said:   1 decade ago
Let me know the valid characters for a numeric literal constant.

Smita said:   1 decade ago
What are a valid characters for a numeric literal constants?


Post your comments here:

Your comments will be displayed after verification.