How many bit combinations are there in a byte?

Answer Posted / abdullah javid

There'll actually be 256 combinations. The maximum value
that can be represented with a byte (8 - bits) is 255 but as
far as combinations are concerned 0 should also be
considered as well as 1, 2, 3, ..., 255. So there are total
256 combinations.

Is This Answer Correct ?    94 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between struct and class in terms of access modifier.

691


Who was the creator of c++?

555


Is c++ slower than c?

569


How do we implement inheritance in c++?

580


what is Loop function? What are different types of Loops?

634






What is an html tag?

626


What type of question are asked in GE code writing test based on c++ data structures and pointers?

3501


Is c++ high level programming language?

669


Tell me can a pure virtual function have an implementation?

548


What is expression parser in c++

1884


What is the difference between an external iterator and an internal iterator?

608


What kind of jobs can I get with c++?

589


Specify some guidelines that should be followed while overloading operators?

614


Explain public, protected, private in c++?

563


Why would you use pointers in c++?

621