Home / CSE MCQs / C++ - MCQs :: Discussion

Discussion :: C++ - MCQs

  1. What can be used to input a string with blankspace?
  2. A.
    inline
    B.
    getline
    C.
    putline
    D.
    None of the mentioned

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    If a user wants to input a sentence with blankspaces, then he may use the function getline.


Be The First To Comment