What function return value if the predefined condition is false? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

What function return value if the predefined condition is false?

Say If(8>9){ Return 0; }

5th Jun 2019, 2:54 PM
Aditya Kumar
Aditya Kumar - avatar
2 Antworten
0
That depends on the language. In some it will return null. In others 0. in again others its undefined
5th Jun 2019, 2:58 PM
Dragonxiv
Dragonxiv - avatar
0
C
5th Jun 2019, 3:03 PM
Aditya Kumar
Aditya Kumar - avatar