Is size_t basically the same as an unsigned integer?
Printable View
Is size_t basically the same as an unsigned integer?
I believe it's defined as something like "the smallest unsigned value big enough to return the value returned by the 'sizeof' call". Something to that effect.
Usually it ends up being an unsigned int or an unsigned long.
Quzah.
Thank you. :)
I guess size_t isn't used a lot since I don't believe I've seen it in anyone's code at cprog (maybe I wasn't really looking).