On Sunday 2014-10-26 13:04, Peter Stuge wrote:
So what type is the result of "unsigned int - size_t"?
size_t, because it is of higher rank.
How come it has higher rank?
I'd appreciate an answer to this. "because" isn't it.
Then you will be disappointed, because "because it is" is the answer - the standards body defined it to be that way. https://www.securecoding.cert.org/confluence/display/seccode/INT02-C.+Unders...