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

Loading

โœช Choose the correct option.

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


#include
int main(){
int arr[3]={10,20,30};
int x=0;
x=++arr[++x]+ ++x+arr[--x];
printf("%d ",x);
return 0;
}

A. 23
B. 43
C. 22
D. 44

Leave a Comment