C conditional operator ('?') with empty second parameter
Typically the '?' operator is used in the following form:

    A ? B : C

However in cases where B = A I have seen the following abbreviation

    A ? : C

This surprisingly works. Is it better to leave the second parameter in (style wise), or is their a chance certain compilers won't be able to handle this?



C conditional operator ('?') with empty second parameter
===

Typically the '?' operator is used in the following form:

    A ? B : C

However in cases where B = A I have seen the following abbreviation

    A ? : C

This surprisingly works. Is it better to leave the second parameter in (style wise), or is their a chance certain compilers won't be able to handle this?


