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
How a new element can be added or pushed in a stack?
What is the difference between a definition and a declaration?
total amount of milk produced each morning and then calculates and outputs the number of cartons needed for this milk , the cost of producing the milk and the profit from producing this milk.
What is atoi?
What does ctime() do?
What is constant in c++ with example?
What is the insertion operator and what does it do?
What is the difference between a declaration and a definition?
What do you mean by const correctness?
What does it mean to declare a member function as static?
Differentiate between declaration and definition.
what is C++ objects?
How can I disable the "echo" feature?
Why can templates only be implemented in the header file?
Differentiate between a copy constructor and an overloaded assignment operator.