Can we make copy constructor private in c++?
No Answer is Posted For this Question
Be the First to Post Answer
1. What does the following do: void afunction(int *x) { x=new int; *x=12; } int main() { int v=10; afunction(&v); cout<<v; } a) Outputs 12 b) Outputs 10 c) Outputs the address of v
In java a final class is a class that cannot be derived. How can you make a similar class in C++
What is the basic structure of c++ program?
What is the main function c++?
Explain queue. How it can be implemented?
What is class invariant in c++?
What is meant by entry controlled loop?
0 Answers Agilent, ZS Associates,
Write a struct time where integer m, h, s are its members?
Describe the setting up of my member functions to avoid overriding by the derived class?
Define a constructor - what it is and how it might be called (2 methods)?
What are static member functions?
How to avoid a class from instantiation?