Storing character

For storing 256 characters we need 8 bits which is equals to 2^8 combinations but isn’t 8 bits should be equal to 2^7 combinations starting from 2^0 combination

@ikrarrus
I don’t understand your doubt. There are 8 bits in which we can store 0 or 1. By making different combinations of them , there are a total of 2^8 = 256 combinations possible. Hence we are able to store 256 different characters in a 8 bit character variable.