Type Casting

#include
int main (void)
{

    int i=7;    double f=8.5;
    printf("%d\n",(int)(i+f)%4);
    system("pause");
    return 0;
}

0 comments:

Post a Comment