How many bit combinations are there in a byte?

Answer Posted / santosh shah

256 combinations.Byte contains the 8 Bits and bit contains
either the value 0 or 1.i.e.(2 raise to power 8 minus
1).The maximum number of value represented with a byte is 8
bits is 255 but 0 should also be considered as well as 1,
2, 3, ..., 255. So there are total
256 combinations.

Is This Answer Correct ?    15 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does there exist any other function which can be used to convert an integer or a float to a string?

649


When should overload new operator on a global basis or a class basis?

610


What is the benefit of encapsulation?

594


What is the basic structure of c++ program?

564


Should I learn c or c++ or c#?

555






How is modularity introduced in C++?

765


What is c++ and its features?

574


What is insertion sorting?

661


What is array in c++ example?

649


What are friend functions in C++?

620


How do you decide which integer type to use?

575


Is main a class in c++?

558


Can I make ios apps with c++?

557


What are static member functions?

616


Which software is best for c++ programming?

573