Solved

To Add an Element to a Vector of Integers Named

Question 40

Multiple Choice

To add an element to a vector of integers named numbers at the next available position in the vector, you would use:


A) numbers[numbers.size) +1] = newValue;
B) numbers = newValue;
C) numbers.pushBacknewValue) ;
D) numbers.push_backnewValue) ;

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions