Solve This (? + ? + ?=30)
If 1111=R, 2222=T, 3333=E, 4444=N Then 5555=?
Guess the Hindi Muhawara from the following whatsapp Emoticons?
Sweet, Medicine, Film, Girl, City, Car, Place, Doggy all are name same, guess which word it is?
Guess me who am I, I am the first on earth, the second in heaven...
Four Question, One Answer: One River Name, One Flower Name, One Film Name, One Actress Name?
A girl is blind, deaf, dumb and uneducated too. A boy loves her. How would he propose without touching her?
Which Indian cricketer is known as "Brown Bradman"?
Which of the countries has had a prime minister whose name featured the name of his country?
Which of the gulf city was a dependency of Bombay Presidency under British rule for almost a century?
Try this to swap all consecutive bits
For 8 bit integer
u_int8 swap_bits(u_int8 ch)
return ((ch & 0xAA)>>;1 ) | ( (ch & 0x55) << 1);
For 16 bit integer
u_int16 swap_bits(u_int16 ch)
return ((ch & 0xAAAA)>>;1 ) | ( (ch & 0x5555) << 1);
Write a program to reverse the bits of an unsigned integer ??
How to swap ith and jth Bits for a 32-Bit Integer?
What is the simples way to check if the sum of two unsigned integers has resulted in an overflow.
Forgot Your Password?
2018 © Queryhome