#include #include void main() { double integral_value, fractional_part; fractional_part = modf( 4.5, &integral_value ); printf( "%f %f\n", fractional_part, integral_value ); fractional_part = modf( -4.5, &integral_value ); printf( "%f %f\n", fractional_part, integral_value ); }