Questions tagged as 'conversão-de-tipo'

2
answers

How can -1 be greater than 4?

How can this code run this way ? #include <stdio.h> int main(void) { printf("tamanho de um inteiro: %d\n", sizeof(int)); if(sizeof(int) > -1) { printf("4 é maior que -1"); } else { printf("-1 é maior que...
asked by 21.01.2015 / 13:40