GATE Computer Science (CS) 2019 Solved Papers
© examsiri.com
Question : 63 of 65
Marks:
+1,
-0
Consider the following C program:
The output of the above C program is __________.
#include
int main()
{
int a[ ] = {2, 4, 6, 8, 10};
int i, sum = 0, *b = a + 4;
for (i = 0; i < 5; i++)
sum = sum + (*b – i) – *(b – i);
printf (“%d\n”, sum);
return 0;
} The output of the above C program is __________.
- Your Answer:
Go to Question: