Explain some examples of operator overloading?


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

Post New Answer

More C++ General Interview Questions

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,


How would you stop a class from class from being derived or inherited?The constructer should not be Private,as object instantiation should be allowed.

15 Answers   Satyam,


if i want cin 12345678910 and cout abcdefghij. so how can i create the program?. example : if i key in 8910 so the answer is ghij.

3 Answers  


What is difference c and c++?

1 Answers  


How to implement flags?

2 Answers   Symphony,






What is array in c++ example?

0 Answers  


How much is size of struct having 1 char & 1 integer?

11 Answers   Persistent,


declare an array of structure where the members of the structure are integer variable float variable integer array char variable access all elements of the structure using dot operator and this pointer operator

0 Answers  


Can we sort map in c++?

0 Answers  


You run a shell on unix system. How would you tell which shell are you running?

0 Answers  


How much maximum can you allocate in a single call to malloc()?

0 Answers  


Is string data type in c++?

0 Answers  


Categories