what is the output of the following code?
#includestdio.h
void main()
{
float fval;
printf("Enter a number\n");
scanf("%f",&fval);
printf("%d\n",(int)fval);
}

Posted on by