Which best describes the meaning of a 1 (true) being output? Assume v is a large vector of ints.
< int i;
bool s;
for (i = 0; i < v.size(); ++i) {
if (v.at(i) < 0) {
s = true;
}
else {
s = false;
}
}
cout << S;
a. last value is negative
b. first value is negative
c. some value other than the last is negative
d. all values are negative