What is the output of this code
#include stdio.h
#includeiostream
using namespace std;
int main ()
{
int array[] = {1, 9, 7, 2, 8, 5, 3};
int n, result = 0;
for (n = 0; n 8; n++)
{
result += array[n];
}
cout result;
return 0;
}

Posted on by