Which statement will read an entire line of input into the following string object? string address;
A) cin << address;
B) cin address;
C) getline(cin, address) ;
D) cin.get(address) ;
E) None of the above
Correct Answer:
Verified
Q5: To use the rand()function, you must #include
Q7: In the following C++ statement, what will
Q9: Associativity is either right to left or:
A)Top
Q10: When a variable is assigned a number
Q14: What is the value stored at x,
Q14: Assume that x is an int variable.
Q15: This manipulator is used to establish a
Q16: You want the user to enter the
Q18: The function, pow(x, 5.0), requires this header
Q24: _ reads a line of input, including
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents