CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

A _________ variable provides an alias for a Previously defined variable.

A
Global
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
Local
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
Reference
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
Dynamic
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is A Reference

A reference variable provides an alias for a previously defined variable.

A reference variable is an alias, that is, another name for an already existing variable. Once a reference is initialized with a variable, either the variable name or the reference name may be used to refer to the variable.

Alias variable:-

This function defines the symbol new-alias as a variable alias for symbol base-variable. This means that retrieving the value of new-alias returns the value of base-variable, and changing the value of new-alias changes the value of base-variable.


flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Mathematical operations on expressions
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon