When I write:
if ((1/3) > 0) ...
Will I need to cast one of the operands to (float) to make this condition true? Or what is the default variable-type C is using?
And if I would write:
if ((1.0/3) > 0) ...
Has the situation now changed, because the compiler notices one of the operands has to be float?
In absence of suffixes, sufficiently small numbers have
intordoubletypesYou can use suffixes to specify the type of the literal