Conditional Operator ( ? : )

Tenary conditional operator

A?B:C

If A is true, return B. If else, return C.

posted @ 2021-11-22 12:01  ChargingCat  阅读(34)  评论(0)    收藏  举报