Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How many bit combinations are there in a byte?

Answer Posted / panaitsdv

if number of bite values is n, and length of the byte is k.
that means n = 2, k = 8.
for n even => n^k
(2^8 = 256)
for n odd => n^k - 1
(2^7 - 1 = 128-1 = 127)

Is This Answer Correct ?    5 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How a new element can be added or pushed in a stack?

982


What is the difference between a definition and a declaration?

1024


total amount of milk produced each morning and then calculates and outputs the number of cartons needed for this milk , the cost of producing the milk and the profit from producing this milk.

2540


What is atoi?

937


What does ctime() do?

1072


What is constant in c++ with example?

1107


What is the insertion operator and what does it do?

1011


What is the difference between a declaration and a definition?

1071


What do you mean by const correctness?

1050


What does it mean to declare a member function as static?

1029


Differentiate between declaration and definition.

1013


what is C++ objects?

1169


How can I disable the "echo" feature?

1119


Why can templates only be implemented in the header file?

1074


Differentiate between a copy constructor and an overloaded assignment operator.

1036