+ 1

What happens if you attempt to use a variable within a program and that variable has not been assigned a value?

Don't cheat. And use of shell is not allowed. 😎😎

25th Mar 2019, 3:31 AM
Hammer
Hammer - avatar
3 Respostas
+ 4
Are you trying to quiz us? Which language is this question for? Different languages throw different error messages, and errors. Usually it's something like "Tried to use an undefined variable, or unrecognized word"
25th Mar 2019, 4:17 AM
Lord Krishna
Lord Krishna - avatar
0
lavada ra
10th Nov 2021, 5:44 AM
Suresh Rocks
Suresh Rocks - avatar
0
It will display an error message that says: "NameError: name 'VariableName' is not defined"
17th Mar 2022, 1:55 PM
Hazem Oukal
Hazem Oukal - avatar