#include void swapfloats(float a, float b) { float temp; temp = a; a = b; b = temp; } main() { float first=2, second=1; swapfloats(first,second); printf("%f %f\n", first, second); return 0; }