I am wondering why this code will output -5 , since they are of different types, and -5 is a very large in unsigned considering 2's complement
#include <stdio.h>
    int main()
    {
        unsigned int x = -5; //
        printf("%d", x);
    }
I am very confused, how a signed int be converted into unsigned? thanks!
 
    