0 0 votes unsigned fun(unsigned a, unsigned b) { int i; unsigned j = 0; for(i = 0; i < 32; i++) { j <<= 1; j += !!(a & 0x80000000); a <<= 1; if(j >=b) { j -= b; a++; } } return a; } Programming in C programming-in-c + – Desert_Warrior 731 views answer comment Share Follow Print See 1 comment 1 1 comment reply srestha commented May 16, 2016 reply Follow flag giving compiler error 0 0 replyShare Please log in or register to add a comment.