Can a constructor return a value?


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

Post New Answer

More C++ General Interview Questions

What is the full form of stl in c++?

0 Answers  


i want to know how to copy arrary without using any method or function. I have tried the below using System; class e4 { static void Main(string[] args) { int a,b; int[ ] m= new int[5]; int[ ] n= new int[5]; for(a=0;a<=4;a++) { Console.WriteLine("enter any value"); m[a]=Convert.ToInt32(Console.ReadLine()); m[a]=n[a]; } for(b=0;b<=4;b++) { Console.WriteLine(n[b]); } } } but it will give wrong result can anyone solve this problem

1 Answers   Reliance,


Is there a sort function in c++?

0 Answers  


How do I open binary files?

1 Answers  


Is it possible to provide special behavior for one instance of a template but not for other instances?

0 Answers  






Which algorithm do you like the most? Why?

2 Answers   Google,


How would you differentiate between a pre and post increment operators while overloading?

0 Answers  


When do we run a shell in the unix system?

0 Answers  


What is microsoft c++ redistributable?

0 Answers  


What is singleton class in c++?

0 Answers  


How to create a reference variable in C++

1 Answers  


What is bubble sort c++?

0 Answers  


Categories