lundi 22 mai 2017

c programming: Conversion of < ? : type condition to simple if else [duplicate]

This question already has an answer here:

Can somebody tell me what does the following expression mean in a C code?

A = B < C ? B:C;

I know that it's an if-else condition, but don't know it works. I will appreciate if somebody wrote it in simple if else conditions.

Aucun commentaire:

Enregistrer un commentaire