Home / CSE / Object Oriented Programming Using C++ :: Discussion

Discussion :: Object Oriented Programming Using C++

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

  2. 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

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    No answer description available for this question.


Be The First To Comment