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

What is the use of typedef?

1033


What is the C-style character string?

1075


List down the guideline that should be followed while using friend function.

1006


Incase of a function declaration, what is extern means?

901


What is guard code in c++?

1109


What is class syntax c++?

1091


List the merits and demerits of declaring a nested class in C++?

982


Why do we need function?

1000


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

1007


What do you mean by global variables?

1026


What is the use of data hiding?

970


Write a program using GUI concept for the scheduling algorithms in Operating system like SJF,FCFS etc..

3789


What are vectors used for in c++?

1011


what kind of projects are suitable for c and c++

991


Why is c++ still used?

1011