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
Does c++ have foreach?
Who invented turbo c++?
What are the rules about using an underscore in a c++ identifier?
Why do we need runtime polymorphism in c++?
Write a program using display() function which takes two arguments.
What is the difference between a declaration and a definition?
What is the use of class in c++?
Why do we use classes in programming?
Is empty stack c++?
why is iostream::eof inside a loop condition considered wrong?
Who calls main function?
Explain the uses of static class data?
Which one between if-else and switch is more efficient?
Which is the best c++ software?
What is c++ similar to?