Cplusplus Programming References 2 Online Exam Quiz
Cplusplus Programming References 2 GK Quiz. Question and Answers related to Cplusplus Programming References 2. MCQ (Multiple Choice Questions with answers about Cplusplus Programming References 2
What are the references in C++?
Options
A : An alternative name for already existing variables
B : A pointer to a variable
C : A new type of variables
D : A new type of constant variable
What is the difference between references and pointers?
Options
A : References are an alias for a variable whereas pointer stores the address of a variable
B : References and pointers are similar
C : References stores address of variables whereas pointer points to variables
D : Pointers are an alias for a variable whereas references stores the address of a variable
Pick the correct statement about references.
Options
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
Pick the correct statement about references in C++.
Options
A : References stores the address of variables
B : References and variables both have the same address
C : References use dereferencing operator(*) to access the value of variable its referencing
D : References were also available in C
Chemical Engineering Basics - Part 1 more Online Exam Quiz
Cplusplus Programming Questions And Answers Permutations
Cplusplus Programming Questions And Answers Pointers To Members
Cplusplus Programming Questions And Answers Pointer To Function 1
Cplusplus Programming Questions And Answers Standard Mathematical Functions
Cplusplus Programming Questions And Answers Stored Sequences
Cplusplus Programming References 3
Cplusplus Programming Seq Con Array Class 1
Cplusplus Programming Seq Con List