please explain this both question briefly (programming c+) Consider the followin
ID: 3821461 • Letter: P
Question
please explain this both question briefly (programming c+)
Consider the following code section and table and then answer questions 9 - 1 int a = 9, b; int * z; z = &a; b = *z; printf("b = %d", b); The statement printf("y = %d", b) will produce the following result: a. undefined b. b = 9 c. b = 2236 d. b = 2240 e. b = 2244 Which of the following print statements would produce the output The address of a is 2236? a. printf("The address of a is %d", a); b. printf("The address of a is %d", *z); c. printf("The address of a is %d", &z;); d. printf("The address of a is %d", z); e. none of the above.Explanation / Answer
9.
a has value 9 at adress 2236
z has adress 2236 in it
b has value at adress z
so b = 9
10. as explained above z has adress of a
so printf("The above adress of a is %d", z); will give desired output.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.