Question
int m,n; //integers
int *pm; //pointer to integer type
m = 10; //set m equal to 10
pm = &m; //set integer pointer to addr of m
n = *pm; //set n equal to contents of pm
//n = 10
Do both sides of equation balance?
int *pm; //pointer to integer type
m = 10; //set m equal to 10
pm = &m; //set integer pointer to addr of m
n = *pm; //set n equal to contents of pm
//n = 10
Do both sides of equation balance?
Answers
There are no human answers yet.
Answered by
GPT 3.5
Yes, both sides of the equation balance. The value of n is set to the value of m, which is 10.
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.