When an if statement is satisfied does compiler check else statment | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

When an if statement is satisfied does compiler check else statment

4th Jul 2019, 6:40 AM
Ayush Rawat
2 Answers
+ 5
The compiler dosnt check if a statment is satisfied. As far as i know only while the programm is running it will skip the else statment if the if statment is satisfied.
4th Jul 2019, 7:12 AM
Dragonxiv
Dragonxiv - avatar
+ 1
Thanks
4th Jul 2019, 7:30 AM
Ayush Rawat