QUESTION IMAGE
Question
what is the value of a variable that has not been assigned a value? answer 1 0 answer 2 undefined answer 3 empty answer 4 none of the above
Brief Explanations
In programming, when a variable is declared but not assigned a value, its value is undefined in many programming languages. 0 is a specific numeric value, Empty might refer to an empty string or container in some contexts but not the default for an unassigned variable.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
- undefined