Global
Guideline
Comprehensive Job Interviews
Home
Interview Questions
Online Quiz Tests
Blog
Contact Us
Close Menu
Copyright © 2005 - 2024. All Rights Reserved
Search
Home
Interviews
C++ Language
C++ References
C++ References Question:
Which value we cannot assign to reference?
a) integer
b) floating
c) unsigned
d) null
Tweet
Share
WhatsApp
Download PDF
Answer:
d) null
Download C++ References PDF
Read All 16 C++ References Questions
Previous Question
Next Question
What is output of this program?
#include <iostream>
using namespace std;
int main()
{
int a = 9;
int & aref = a;
a++;
cout << "The value of a is " << aref;
return 0;
}
a) 9
b) 10
c) error
d) 11
Identify the correct sentence regarding inequality between reference and pointer.
a) we can not create the array of reference.
b) we can create the Array of reference.
c) we can use reference to reference.
d) none of the mentioned