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

Does c++ have foreach?

1074


Who invented turbo c++?

1075


What are the rules about using an underscore in a c++ identifier?

1206


Why do we need runtime polymorphism in c++?

1039


Write a program using display() function which takes two arguments.

1090


What is the difference between a declaration and a definition?

1128


What is the use of class in c++?

1090


Why do we use classes in programming?

1046


Is empty stack c++?

1005


why is iostream::eof inside a loop condition considered wrong?

1065


Who calls main function?

1120


Explain the uses of static class data?

1115


Which one between if-else and switch is more efficient?

1087


Which is the best c++ software?

1106


What is c++ similar to?

1190