Question: Using the code below: # include < stdio . h > void boo ( float * p tr ) ; void f oo ( float

Using the code below:
#include <stdio.h>
void boo(float *ptr);
void foo(float *ptrx, float *ptry);
int main(void){
float x, y;
printf("&x =%p
.", &x); //61FE1C
float *ptrx = &x;
float *ptry = &y; //61FEAB
printf("&ptrx =%p
", &ptrx); //61FE10
foo(&x, &y);
printf("ptrx =%p
", ptrx);
return 0 ;
}
void foo(float *ptrx, float *ptry){
ptrx = ptry;
printf("ptrx =%p
", ptrx);
boo(ptrx);
printf("ptrx =%p
", ptrx);
}
void boo(float *ptr){
ptr = NULL;
printf("ptr =%p
", ptr);
}
The output of line 16 is Question Blank 1 of 1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!