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


Which of the following numerical value(s) is(are) invalid constant(s)?

[A]. 0.7
[B]. 9.3el2
[C]. 27,512
[D]. 12345678
[E]. None of the above

Answer: Option C


No answer description available for this question.

SADIQ said: (Nov 18, 2016)  
C]. 27,512 is the correct answer because in numeric constant there is no comma (,) allowed.

Harsh said: (May 11, 2019)  
Yes, you are right @Sadiq.

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.