#include <stdint.h>#include <stdio.h> int main(){ uint32_t n = (uint32_t)(INT32_MIN * -1LL); printf("n: %u\n", n);}
Standard input is empty
n: 2147483648
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!