Hello everybody: I've an expression like this:
if(a == 1){
printf("hello\n);
}
Is there a way to do something like that?
a==1 && printf("hello\n);
It's called short-circuit expression, but I don't know anything about it. Does it exist in C? How to do it.
Aucun commentaire:
Enregistrer un commentaire