What is guard code ? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

What is guard code ?

it was a question in my exam today

21st Mar 2017, 6:11 AM
narmada
narmada - avatar
1 Antwort
+ 1
Guard code is a check of integrity preconditions used to avoid errors during execution. It basically a condition statement that decide whether the code will execute or not.
22nd Mar 2017, 8:09 AM
Aditya Kshitiz
Aditya Kshitiz - avatar