Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- double intercambiar (double *a, double *b){
- double aux;
- aux = *a;
- *a = *b;
- *b = aux;
- return (*a, *b);
- }
- void main(){
- double a,b;
- a = 5.0;
- b = 7.7;
- intercambiar(&a,&b);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement