Question: If we run the below C code what will be output value of variables and pointers at the space mentioned( as comments ) in the

If we run the below C code what will be output value of variables and pointers at the space mentioned( as comments ) in the code.

#include  int main() { int a[5];  int b, c, *d, *e;  d = &b;  e = &c;  b = 134;  *d = 26;  c = 234;  a[0] = 7; a[1] = 212; a[2] = 50; a[3] = 24; a[4] = 123;  for (int x = 0; x < 5; x++) {    printf("%d %d ", x, a[x]);    a[x] = x + 209;  }  //Value of : b ______ c ______ *d ______ *e ______  //Contents of a: _____ _____ _____ _____ _____  d = a;  for (int x = 0; x < 4; x++) {    d[x] = x + 219;    printf("%d %d ", x, a[x]);  } //Value of : b ______ c ______ *d ______ *e ______  //Contents of a: _____ _____ _____ _____ _____  *d = 74;  *e = 6; //Value of : b ______ c ______ *d ______ *e ______ //Contents of a: _____ _____ _____ _____ _____  d = &c;  e = &b;  //Value of : b ______ c ______ *d ______ *e ______  //Contents of a: _____ _____ _____ _____ _____  e = &a[1];  e[1] = 1024;  e[0] = 2048; //Value of : b ______ c ______ *d ______ *e ______  //Contents of a: _____ _____ _____ _____ _____   return 0; } 

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!