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 2#include 3 void baz(int, int *);4int main()6-...


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



main.c<br>1<br>#include <stdio.h><br>2<br>#include <stdlib.h><br>3 void baz(int, int *);<br>4<br>int main()<br>6- {<br>7<br>int a-5;<br>8<br>int p;<br>9<br>p-8a;<br>printf(

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.|

Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here