+ 1

It would be better if they start the actual code on a separate paragraph.

I kept getting confused with seeing pass=false?name. I thought it was a half-written operator lol.

3rd Apr 2018, 8:08 AM
Maria
1 Resposta
+ 17
Yes, sometimes people don't use proper indentation which makes code difficult to read ... specially for beginners... It might be a ternary operator... ternary operator syntax : condition ? true : false for eg : int i=1; cout<<(i>0) ? "positive" : "negative"; output : positive
3rd Apr 2018, 9:02 AM
🌛DT🌜
🌛DT🌜 - avatar