How many bit combinations are there in a byte?
Answer Posted / arjun
This has to be the easiest technical question for any
programmer...
A Byte is made of 8 Bits, so the number of combination for
Byte would be 2^8.
However, if asked the maximum number represented then it
would be (2^8)-1.
Surely, if you can't answer this you should seriously think
about changing your profession.
| Is This Answer Correct ? | 7 Yes | 4 No |
Post New Answer View All Answers
What is the benefit of c++?
When does a 'this' pointer get created?
What is const pointer and const reference?
Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == ) y-= 7; else y = 8; if the value of x is 4 before the nested IFs are executed, what is the value of y after the nested IFs are executed?
Which bit wise operator is suitable for turning off a particular bit in a number?
What are formatting flags in ios class?
What is the first name of c++?
What is constant in c++ with example?
What is the difference between C and CPP?
Why the usage of pointers in C++ is not recommended ?
How do c++ struct differs from the c++ class?
Give 10 points of differences between C & C++.
Is c++ still being used?
What is pointer to member?
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?