void swap (float *p, float * { float *t ,a; t = &a; t = p; *p = *q; *q = *t; } void main () { float x = 8.0;y = 9.0; swap (&x, &; cout<<x<<", "<<y<<end1; } void swap (float *p, float * { float a; a = *p; *p = *q; *q = a; } void main() { float x = 8.0;y = 9.0; swap (&x, &; cout<<x<<", "<<y<<end1; } void swap (float *p, float * { float x; x = *p; *p = *q; *q = x; } void main() { float a,; *a = 8.0;*b = 9.0; swap (a, ; cout<<x<<", "<<y<<end1; } void swap (float &p, float & { float a; a = p; p = q; q = a; } void main() { float a = 8.0,b = 9.0; swap (a,; cout<<x<<", "<<y<<end1; }