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 typedef?
What is the C-style character string?
List down the guideline that should be followed while using friend function.
Incase of a function declaration, what is extern means?
What is guard code in c++?
What is class syntax c++?
List the merits and demerits of declaring a nested class in C++?
Why do we need function?
why is iostream::eof inside a loop condition considered wrong?
What do you mean by global variables?
What is the use of data hiding?
Write a program using GUI concept for the scheduling algorithms in Operating system like SJF,FCFS etc..
What are vectors used for in c++?
what kind of projects are suitable for c and c++
Why is c++ still used?