guys i really got confused when u tryed yo solve iy with functions

Code:

#include<stdio.h>
void read(float arr[],int n)
{
int i ;
for (i=0 ; i<n ; ++i)
{
printf ("Enter the %dth element of array :", i) ;
scanf ( "%f", &arr[i] ) ;
}
void swp(float arr[],float arr_new[],int n)
{
int i,j, temp;
for( i = 0, j = n-1; i<n; i++,j--)
{
temp = arr[i];
arr[i] = arr_new[j];
arr_new[j] = temp;
}
}
void display(float arr_new[]);
{
int i;
for (i=0 ; i<n ; ++i)
{
printf ("the new array value of element #%d is %f \n", i,arr_new[i]) ;
}
}
void main()
{
float a[],b[], c[];
int m;
printf ("Enter the size of array :") ;
scanf("%d",&m);
read(a,m);
swap(a,b,m);
display(c);
}