What do we call the statement in a code that is not being used at all | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

What do we call the statement in a code that is not being used at all

for example when programming hello world program, and import math, the last one is not necessary nor being used at all. So my question is: what do we call that part of the code that is not being used and will not be used at all? Thank you!

17th Jul 2020, 11:56 PM
Mohammad Ala Tahhan
Mohammad Ala Tahhan - avatar
2 Respostas
+ 3
An unreachable or a dead code.. InĀ computer programming,Ā unreachable codeĀ is part of theĀ source codeĀ of a program which can never be executed because there exists noĀ control flowĀ path to the code from the rest of the program. Unreachable code is sometimes also calledĀ dead code,Ā althoughĀ dead codeĀ may also refer to code that is executed but has no effect on the output of a program. -WIKIPEDIA
18th Jul 2020, 12:20 AM
Ćheyat
Ćheyat - avatar
0
Thanks a lot Ćheyat !
18th Jul 2020, 12:49 AM
Mohammad Ala Tahhan
Mohammad Ala Tahhan - avatar