Which one of the following declations represents the legal copy constructor for the class X?

  1. X (X);
  2. X (&X);
  3. X (X&);
  4. X ( );



Answer: 
Option c: X (X&);

Explanation Here