why & sign is used in copy constructor

Answer Posted / krishnarao panchadi

Sandip, Good answer. It goes into Infinete loop because, as
the a local copy of the object is created, it will call the
constuctor one more time and another copy will be created
there and so on...

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of stl containers?

652


What is a standard template library (stl)? What are the various types of stl containers?

675


In what scenario does the Logical file and Physical file being used?

2329


What is stl in c++ with example?

641


What do stl stand for?

647






Q1. A. What is unary operator? List out the different operators involved in the unary operator. B. What is an adjust field format flag? Q2. A. Distinguish between a # include and #define. B. Can a list of string be stored within a two dimensional array? Q3. A.Explain how a pointer to function can be declared in C++? B.List the merits and demerits of declaring a nested class in C++? Q4. A. What are the syntactic rules to be avoid ambiguity in multiple inheritence? B. Explain the operation of overloading of an assignment operator. Q5. A. Explain how the virtual base class is different from the conventional base classes of the opps. B. Explain how an exception handler is defined and invoked in a Program. Q6. A. What is a binary file? List the merits and demerits of the binary file usagein C++. B. Write short notes on Text Manipulation Routines. C. Write bites in Turbo c++ Header (“Include”) Files.

2316


help me i need a c++ program which takes sequesnce of characters and outputed sequence of their token taypes, work same compiler in lexical analysis phase

1888


What two types of containers does the stl provide?

573


Is stl part of c++ standard?

647


write a program to convert a decimal number in to its equivalent binary number?

2085


draw a flowchart that accepts two numbers and checks if the first is divisible by the second.

2867


sir please send me bpcl previous question papers

1961


How stl is different from the c++ standard library?

647


totoo po ba ang manga aliens!

2343


what is template and type convertion

2000