0

Can you see my recent posts

Why it outputs more elements t[8] t[9].. even I declared that the size of the vector t is just 7 ?

12th Dec 2020, 4:28 AM
Rami Joy
Rami Joy - avatar
4 Answers
12th Dec 2020, 4:33 AM
A͢J
A͢J - avatar
0
But I declared that the vector t has just 8 elements including t[0],his size is 7, t[7].
12th Dec 2020, 4:34 AM
Rami Joy
Rami Joy - avatar
0
BeegCat He is taking input in for loop. So just enter 10 0 1 2 3 4 5 6 7 8 9
12th Dec 2020, 5:38 AM
A͢J
A͢J - avatar