Advertisement
Guest User

fix

a guest
Jan 22nd, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.13 KB | None | 0 0
  1. double f(double x)
  2. {
  3.     x = (x * x) + (x - 1);
  4.     return (x);
  5. }
  6.  
  7. void    f(double *x)
  8. {
  9.     *x = (*x * *x) + (*x - 1);
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement