M
Mantorok Redgormor
Under c99 one can use %zu to portably print the value returned by
sizeof, since it is represented by a size_t which is an unsigned inter
type, you just don't know which unsigned integer type it actually is.
So under c89, a portable hack for printing the value returned from
sizeof(since we can't use %zu) would be to use %lu and cast sizeof to
unsigned long?
sizeof, since it is represented by a size_t which is an unsigned inter
type, you just don't know which unsigned integer type it actually is.
So under c89, a portable hack for printing the value returned from
sizeof(since we can't use %zu) would be to use %lu and cast sizeof to
unsigned long?