Zurück zu den Links

Casting with Unsigned Values

#include <stdio.h>

int main () {
    unsigned int DEFINITELY_LARGER_THAN_ZERO = 2147483648;

    if (-1 >= DEFINITELY_LARGER_THAN_ZERO) {
        printf("Stay sane.\n");
    } else {
        printf("There is no god.\n");
    }

    return 0;
}

There is no god.