There are many kinds of typecasting to make sure assignment works such as implicit type conversion (promotion) and explicit type conversion (truncation), but I am not sure how it works on pointers type conversion for ternary operator.There are many kinds of typecasting to make sur