Friday 22 January 2016

Lecture#1 ka Point#12 (Csharp Roman Hindi/Urdu Me).

1st bit = 20 = 1   (0, 1) => total 2 combinations.
2nd bit = 21 = 2   (00, 01, 10, 11) => total 4 combinations.
3rd bit = 22 = 4   (000, 001, 011, 010, 100, 111, 110) => total 8 combinations.
4th bit = 23 = 8   (0000, 0001, 0011, 0111, 0110, 0100, 0101, 1000, 1001, 1011, 1010, 1100, 1110, 1111) => total 16 combinations.
--------------------------------------------------------------------------------------------------------------------------
Csharp(C#) me total (1+2+4+8 =15) numbers 4 bits me store ho saktey hain.

No comments:

Post a Comment