Code:
#include <stdio.h>
#include <stdlib.h>
main( )
{
float a, b ;
printf ( "\nEnter any number " ) ;
scanf ( "%f", &a ) ;
b = square ( a ) ;
printf ( "\nSquare of %f is %f", a, b ) ;
}
square ( float x )
{
float y ;
y = x * x ;
return ( y ) ;
}
This Program gives me error of 'conflicting type for' in code blocks build.
And Whenever i run this program then it does'nt show the output in float but in integer type. Please Give the reason for this.... And also guide me how to get floating type output from this program.

