224k views
1 vote
The declaration vector int> vec(10,5); creates a vector of size 5, and initializes all 5 elements of the vector to the value 10

a. true
b. false

1 Answer

2 votes
your answer would be false :)
User Thomas Schneiter
by
8.5k points