a) References can be assigned value NULL
b) References once assigned cannot be changed to refer another variable
c) Reference should not be initialized when created
d) Reference is the same as pointers
Answer: b
Explanation: References are should be initialized during its creation and once assigned cannot be changed to refer another variable. References cannot be assigned NULL value. References and pointers are two different concepts.
Related Posts
Which of the following feature is used in function overloading and function with default argument?
If an argument from the parameter list of a function is defined constant then _______________
Where should default parameters appear in a function prototype?
When we define the default values for a function?
In which of the following cases inline functions may not word?
i) If the function has static variables.
ii) If the function has global and register variables.
iii) If the function contains loops
iv) If the function is recursiveAn inline function is expanded during ______________
What is an inline function?
Join The Discussion