Pergunta de entrevista da empresa NVIDIA

Output of this function: void foo(void) { unsigned int a = 6; int b = -20; (a+b > 6) ? puts(“> 6”) : puts(“<= 6”); }

Resposta da entrevista

Sigiloso

13 de mar. de 2016

">6" b will be cast to unsigned, and the result will be something big.