cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Variable sizes
Variable sizes
Dec 7, 2012 at 10:14pm UTC
closed account (
LN7oGNh0
)
I was reading this thing about variable sizes and it said that 'n bits can store 2^n values' so if n = 8, the answer is 256. (2^8). I dont get what ^ does? I thought it meant square the number. Does anybody know?
Thanks.
Dec 7, 2012 at 10:18pm UTC
Athar
(4466)
2^8 means 2 to the power of 8.
Dec 7, 2012 at 10:20pm UTC
Moschops
(7244)
http://en.wikipedia.org/wiki/Exponentiation
Dec 7, 2012 at 10:22pm UTC
closed account (
LN7oGNh0
)
O000000000000000000000HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH!!!!!!!!!!!!!!!!!!!!
Thats what it means!!!
Thank you!
Topic archived. No new replies allowed.