no need solution step by step please give short answer
What is the output of the code snippet?
int a[]={10,20,30,40};
int i=3,x;
x=1*a[--i]+2*a[--i]+3*a[--i];
printf("%d",x);
A)
50
B)
60
C)
40
D)
20
E)
30
Answers
Answered by
1
Answer:
c 40
Explanation:
c 40
I think it's the right answer
Similar questions