1.

What is the output of this program?
 #include <iostream>
#include <functional>
#include <numeric>
using namespace std;
int myop (int p, int q)
{
return p + q;
}
int main ()
{
int value[] = {11, 12, 13, 15, 17};
int Res[5];
adjacent_difference (value, value + 7, Res);
for (int k = 0; k < 5; k++)
cout << Res[k] < return 0;
}

A. 11 1 1 2 2
B. 11 1 1 2
C. 1 2 2
D. 1 2
E. 1
Answer» B. 11 1 1 2


Discussion

No Comment Found

Related MCQs