Question: For example: int a , b; int * pa = &a , * pb = &b; * pa = 0 ; * pb = 4
For example:
int a b;
int pa &a pb &b;
pa ; pb ;
update&a&b;
printfa d b d
ab;
pa ; pb ;
update&a&b;
printfa d b d
ab;
pa ; pb ;
update&a&b;
printfa d b d
ab;
pa ; pb ;
update&a&b;
printfa d b d
ab;
Results in:
a b
a b
a b
a b
Code given in C Language to modify TODO indicates the line where you should add modified code:
#include exh
void updateint a int b
TODO
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
