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
What is the use of structure in c++?
Is it possible to write a c++ template to check for a function's existence?
What is increment operator in c++?
What is called array?
What are the advantages of c++?
What is the outcome of cout< a) 16 b) 17 c) 16.5
What is pointer -to-members in C++? Give their syntax?
What will the line of code below print out and why?
What is c++ code?
What is the latest c++ version?
Define pure virtual function?
What is c++ virtual inheritance?
Can malloc be used in c++?
Is overriding possible in c++?
What are friend classes?