#include <stdio.h>

typedef struct {
	float x;
	float y;
} point;

point permute(point M)
{
	point N;
	N.x = M.y;
	N.y = M.x;
	return N;
}

int main(void)
{
	point A;
	point B;
	int point = 7;
	
	A.x = 0;
	A.y = 1;
	B = permute(A);
	
	printf("A (%.2f, %.2f)\n", A.x, A.y);
	printf("B (%.2f, %.2f)\n", B.x, B.y);
	printf("point = %d\n", point);
	
	return 0;
}