When must you use a pointer rather than a reference?


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

Post New Answer

More C++ General Interview Questions

C++ program output? Explain output of this program. #include <iostream> using std::cout; using std::cin; int main() {   cout<<cout<<' ';   cout<<cin;   return 0; } It prints some address in hexadecimal. what is it?

1 Answers  


write the programme that convert a interger to biniry number

1 Answers   Amazon,


Write a function to perform the substraction of two numbers. Eg: char N1="123", N2="478", N3=-355(N1-N2).

0 Answers  


What are the new features that iso/ansi c++ has added to original c++ specifications?

0 Answers  


What is an adaptor class in c++?

0 Answers  






How is modularity introduced in C++?

0 Answers   TCS,


What is a container class? What are the types of container classes in c++?

0 Answers  


Write a program which uses functions like strcmp(), strcpy()? etc

0 Answers  


when can we use copy constructor?

6 Answers   HP,


What do you mean by inheritance in c++? Explain its types.

0 Answers  


What is endl?

0 Answers  


On throwing an exception by the animal constructor in p = new animalq, can memory leak occur?

0 Answers  


Categories