Question: Imagine you have the following command in C programming language. After including a proper command for returning the value of integer b, what is the
Imagine you have the following command in C programming language. After including a proper command for returning the value of integer b, what is the output?
note: choose only one option.
#include
int main () {
int i = 1;
int a[]={17, 2, 8, 4, 0, 6};
int b = ++a[i++];
// write a proper return command here
return 0;
}
I)8
II) 18
III) 3
IV) 9
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
