• Cursos
  • Compilador de Código
  • Debatir
  • Precios
  • Teams
Menu
+ 1

Can someone explain to me how this if-statement works?

int a =1?0:2?3:4; printf ("%d",a); the output is 0

if-statementscif
17th May 2019, 10:53 AM
MrNick7373
2 Respuestas
+ 1
the fourth page https://www.sololearn.com/learn/C/2923/
17th May 2019, 11:42 AM
Gordon
Gordon - avatar

¿Tienes a menudo preguntas como esta?

Aprende gratis de forma más eficaz

  • Introducción a Python

    7,1M de estudiantes

  • Introducción a Java

    4,7M de estudiantes

  • Introducción a C

    1,5M de estudiantes

  • Introducción a HTML

    7,5M de estudiantes

Ver todos los cursos
En tendencia hoy
What kind of questions do companies ask in Data Analyst interviews (including Python, SQL, Power BI, and Excel)?
2 Votes
Give some simple practice questions in C
0 Votes
How many time I can use sololearn trial mode?
1 Votes
Ошибка в приложении Sololearn
1 Votes
NEO V2.0
1 Votes
Did sololearn helped you to get easier a job?
1 Votes
Hello guys,
1 Votes
Help me
1 Votes
Is anyone else experiencing this Sololearn issue?
0 Votes
solo learn program issue - iPhone?
1 Votes