jeudi 23 avril 2015

How does ? and : in the follwong code works?

I need some help with understanding the following condition statement, I want to know how to use "?" and ":" in a for loop

for(i=0; i<lim-1 ? (c=getchar()) != '\n' ? c != EOF : 0 : 0 ; ++i)

Aucun commentaire:

Enregistrer un commentaire