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

Is it possible to use a new for the reallocation of pointers ?

597


What is istream c++?

571


Explain all the C++ concepts using examples.

685


Is dev c++ free?

610


What is the c++ programming language used for?

579






What are compilers in c++?

604


Is C++ case sensitive a) False b) Depends on implementation c) True

613


Can a Structure contain a Pointer to itself?

608


Explain queue. How it can be implemented?

671


What is singleton pattern in c++?

546


We all know that a const variable needs to be initialized at the time of declaration. Then how come the program given below runs properly even when we have not initialized p?

579


What is c++ hash?

619


What do manipulators do?

570


To which numbering system can the binary number 1101100100111100 be easily converted to?

608


Explain the difference between new() and malloc() in c++?

622