Google News
logo
CPP - Quiz(MCQ)
What do we return if we use simple array on a internal container?
A)
Objects
B)
Pointers
C)
Values
D)
Methods

Correct Answer :   Pointers


Explanation : Pointers are legal iterators, so if your internal container is a simple C array, then all you need to do is return the pointers.

Advertisement