Choose the correct formula for calculating the upper (max) possible value of an int variable.
a) 2^(n−1) − 1, where n is the number of bytes
b) 2^(n−1) + 1, where n is the number of bytes
c) 2^n + 1, where n is the number of bytes
d) 2^(n−1) − 1, where n is the number of bits
e) 2^(n−1) + 1, where n is the number of bits
f) 2^n + 1, where n is the number of bits