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?
A girl is blind, deaf, dumb and uneducated too. A boy loves her. How would he propose without touching her?
Four Question, One Answer: One River Name, One Flower Name, One Film Name, One Actress Name?
Guess me who am I, I am the first on earth, the second in heaven...
Which Indian cricketer is known as "Brown Bradman"?
What animal, introduced to Australia in the 19th century, had a feral population there by 2010?
What animal takes part in Olympic "dressage" events?
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