Sobes.tech
Junior — Senior
73

Implement a copy constructor for the given struct

Task condition

Your task is to add a copy constructor to the CopyAssignExample structure so that the values of its members are correctly duplicated when an object is copied.

struct CopyAssignExample {
    int a;
    int b;
    int c;

    // implement copy constructor here
};