What will be output of the following “c” code?


Loading

โœช Choose the correct option.

What will be output of the following “c” code?

#include

long fu(int);

char vect[]={1,2,3,4,5};

void main(){

int i=1;

i=fu(++i)+ ++vect[++i]+ ++i+fu(i++);

printf(“%d”,i);

}

long fu(int x){

return x*3;

}

A. 31
B. 32
C. 33
D. 27