Code Snippets C

//Declaration: float nearbyintf(float arg);
double nearbyint(double arg);
long double nearbyintl(long double arg);
#include
#include
int main(void)
{
double f;
f = nearbyint (3.3);
printf("%f " , f);
}
/*
3.000000
*/