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


Which of the following creates a String named constant called partNo, whose value is AB45?

[A]. const char[4] partNo = "AB45";
[B]. const char[5] partNo = 'AB45';
[C]. const char[5] partNo = "AB45";
[D]. const char partNo[5] = "AB45";
[E]. None of the above

Answer: Option D


No answer description available for this question.

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.