Some exam questions about C++ vectors and arrays...
- by xbonez
Hey guys, I have a CS exam tomorrow. Just want to get a few questions cleared up. Thanks a lot, and I really appreciate the help.
Que 1.
What are parallel vectors?
Vectors of the same length that contain data that is meant to be processed together
Vectors that are all of the same data type
Vectors that are of the same length
Any vector of data type parallel
Que 2.
Arrays are faster and more efficient than vectors.
True
False
Que 3.
Arrays can be a return type of a function call.
True
False
Que 4.
Vectors can be a return type of a function call.
True
False