Q367
What will be the output of the following C++ code? #include #include #include using namespace std; int main () int numbers[] = 10, -20, -30, 40, -50; int cx; cx = count_if ( numbers, numbers + 5, bind2nd(less (), 0) ); cout << cx; return 0;
A.
1
B.
2
C.
3
AnswerD.
4
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board