Need help with it printing out d for some reason it is printing out all the other things I wanted to but it is not printing out d
This is in C code
Extracted text: main.c 1 #include 2 #include 3 void baz(int, int *); 4 int main() 6- { 7 int a-5; 8 int p; 9 p-8a; printf("Memory location of a is =%x",p); printf("\nMemory Location of p is =%x", &p); baz(a, p); 10 11 12 13 } 14 void baz (int a 16- { 15 int "p) int c = a-*p; printf("\nMemory location of c is =%x", &c); if(c) { int d=c*2; printf("\nMemory location of d is =%x", &d); 17 18 19 20 21 22 23 p--d; } else 24 25 26- { int e=*p/2; printf("\nMemory location of e is =%x",&e); 27 28 29 p+=e-a; } 31 } 30 Memory location of a is =f9000edc Memory Location of p is =f9000ee0 Memory location of c is =f9000eb0 Memory location of e is =f9000eb4 ...Program finished with exit code 0 Press ENTER to exit console.|
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here