Please explain the reference variable in c++?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

How do you link a C++ program to C functions?

4 Answers  


1. What does the following do: void afunction(int *x) { x=new int; *x=12; } int main() { int v=10; afunction(&v); cout<<v; } a) Outputs 12 b) Outputs 10 c) Outputs the address of v

5 Answers   Quark,


Why are arrays usually processed with for loop?

0 Answers  


What is c++ virtual inheritance?

0 Answers  


What are the advantages of using friend classes?

0 Answers  






Can member functions be private?

0 Answers  


How one would use switch in a program?

0 Answers  


Define the operators that can be used with a pointer.

0 Answers  


Explain the scope resolution operator?

2 Answers  


What do you mean by early binding?

0 Answers  


List down the guideline that should be followed while using friend function.

0 Answers  


What is a set in c++?

0 Answers  


Categories