What will be the output of the folllowing program on GCC compiler?<

Loading

Choose the correct option.

What will be the output of the folllowing program on GCC compiler?

#include   
int main(){
int a[] = {2,4,6,8,10};
int i;
for(i=0;i<=4;i++){
*(a+i)=a[i] + i[a];
printf("%d,",*(i+a));
}
return 0;
}

 

A. 4,4,4,4,4,
B. 4,8,12,16,20,
C. 4,8,12,16,22,
D. Compiler Error