single return of ternary operator
I wonder if possible to write ternary operator for single return. I tried google online, but couldn't find an answer. or it doesnot called ternary operator??
Thank you very much for your advice.
If(A == 1) execute_function(); into A == 1 ? execute_function() //???Possible???