Advertisement
aperles

sii_punteros

Feb 13th, 2013
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2. main()
  3. {
  4.     double a1,a2,a3, resultado;
  5.     double *punt1, *punt2, *punt3, *puntres;
  6.  
  7.     punt1=&a1;
  8.     punt2=&a2;
  9.     punt3=&a3;
  10.     puntres=&resultado;
  11.  
  12.     *puntres=*punt1+*punt2+*punt3;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement