A
Alexander Korovyev
Is there an expression where an int may be used while a long int may
not?
The standard ('99) says:
"The following may be used in an expression wherever an int or
unsigned int may be used:
- An object or expression with an integer type whose integer
conversion rank is less than the rank of int and unsigned int.
- A bit-field of type _Bool, int, signed int, or unsigned int."
Does there exist an example of the sort I described or other rules
apply which imply non-existence of this example? Thanks!
not?
The standard ('99) says:
"The following may be used in an expression wherever an int or
unsigned int may be used:
- An object or expression with an integer type whose integer
conversion rank is less than the rank of int and unsigned int.
- A bit-field of type _Bool, int, signed int, or unsigned int."
Does there exist an example of the sort I described or other rules
apply which imply non-existence of this example? Thanks!