I have:
int i = -INT32_MIN
unsigned int ui = (unsigned int)i
What will happen when I cast the int to an unsigned int?
- What are the rules for casting?
- Is casting safe?
- Will casting always produce a predictable value?
I have:
int i = -INT32_MIN
unsigned int ui = (unsigned int)i
What will happen when I cast the int to an unsigned int?