0

Que es if (!ÂĄ) en c++

Me aparecio como pregunta en un desafio y no se que es

31st Dec 2022, 11:40 AM
Hector Mamani
Hector Mamani - avatar
1 Answer
+ 1
if( !i ) evaluates to true when value of variable <i> was zero. In C/C+ any number except zero is considered a truthy value.
31st Dec 2022, 1:50 PM
Ipang