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"?
The philosopher Pythagoras of Samos (c. 570 – c. 495 BCE) believed in transmigration of souls, led a group..............
In which modern country was the Aksumite, or Axumite, Empire, which flourished from about the late first................
Use bit wise and (&) operator to check whether a particular bit is on or off.
Example:
ans = paticular bit value & 1
if ans is 1 then the bit is set i.e on else it is off, i.e not set.
variable=CHECK_BIT(temp, 3) if the variable is 1. it will on else off. In c++ you could use std::bitset.
In a 32 bit only one bit is on, with out using loops, goto, or recursion how to find out which position is on? example : 4 ---> 2nd bit ( 0000 0100)