Time left:

[All Quizzes] → [Programming With C++] → [Strings and Streams]


1. ► string comparison is as efficient as number comparison

A.
B.

2. ► Which of the following classes is output stream in C++

A.
B.
C.

3. ► Operator ‘+’ is allowed on C++ string

A.
B.

4. ► Which of the following function can be used for locating a subtring

A.
B.
C.

5. ► string in C++ is just a char array with NULL termination

A.
B.

6. ► stringstream can be used to insert values of various basic types into a string

A.
B.

7. ► Which of the following streams is standard output in C++

A.
B.
C.
D.

8. ► Which of the following classes is input stream in C++

A.
B.
C.
D.

9. ► ‘>>’ operator is used to write into a stream

A.
B.

10. ► Stream operator “>>” cannot be overloaded

A.
B.


© 2016 VirtuQ™ Education All right reserved. | Terms of Use | Privacy Policy