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

Discussion :: Object Oriented Programming Using C++

  1. A function's purpose is to print customer data. Which of the following is the best name for this function?

  2. A.
    pcd(). It's short for "print customer data" and takes few keystrokes
    B.
    Printcustomerdata(). It states everything the function will do
    C.
    printCustomer(). It states the function's purpose and is easy to read
    D.
    lastFunction(). It is the final function called in most programs, and this name identifies the function's timing

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    No answer description available for this question.


Be The First To Comment