프로그래밍/C/C++2011. 6. 21. 18:50
#include <stdio.h>
int main()
{
        printf("%u\n", (-320) % 20u);            // 16
        printf("%u\n", ((unsigned) -320) % 20u); // 16
        printf("%u\n", (-320) / 20u);            // 214748348
        printf("%u\n", ((unsigned) -320) / 20u); // 214748348
        return 0;
}
Posted by asdfzxcv