What is 'Copy Constructor' and when it is called?
A copy constructor is called when an object is passed by value. Copy constructor itself is a function. So if we pass an argument by value in a copy constructor, a call to copy constructor would be made to call copy constructor which becomes a non-terminating chain of calls.
Is This Answer Correct ? | 0 Yes | 0 No |
Is c++ platform dependent?
Does improper inheritance have a potential to wreck a project?
Which bit wise operator is suitable for turning off a particular bit in a number?
What is abstraction c++?
What is virtual table?
write asingle linked list which read from two list & the do the following 1 sort the prime & nonprime num (prime should be less tn nonprime) 2 each node has a prime num followd by nonprime 3 add a new node into its sutable plce 4 erase the most three duplicated non prime num 5 find the least duplicated prime num
Write a program to swap 2 chars without using a third varable? char *s = "A"; char *p = "B";
Who was the creator of c++?
What is extern c++?
What do you mean by Stack unwinding?
Explain the difference between c++ and java.
What is a binary file? List the merits and demerits of the binary file usagein C++.