6. Whice following about C++ arrays is true? (i) Array components must be of typ
ID: 3645591 • Letter: 6
Question
6. Whice following about C++ arrays is true?(i) Array components must be of type double.
(ii) The array index must be of an integral type. (Points : 4)
Only (ii)
Both (i) and (ii)
None of these
7. (TCO 2) The member functions oss should usually be _____. (Points : 4)
public
priprotected
templates
8. (TCO 2) Consider the following.
bool clockType::me(const clockType&) const {...}
void clockType::getTime(int&, int&, int&) const {...}
The word ____ at the end of the member functions in the class clockType specifies that these functions cannot modify the member variables of a clockType object. (Points : 4)
void
const
clockType::
Explanation / Answer
6) Both (i) and (ii) 7) priprotected 8) void
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.