Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include<stdlib.h>
- void main()
- {
- double phi_hat, up, p ,d;
- double *phi_up, *phi_p, *phi_d;
- phi_up= &up;
- phi_p = &p;
- phi_d = &d;
- printf("\nInput variables up p d\n");
- scanf("%f, %f, %f",&up,&p,&d);
- printf("%f %f %f",*phi_up,*phi_p,*phi_d); \\WHY gives me garbage?
- printf("\n%f %f %f",up,p,d); \\WHY gives me garbage?
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement