samedi 29 janvier 2022

Can someone explain the use of last two things in given code

struct Interval {
     int start;
     int end;
     Interval() : start(0), end(0) {}
     Interval(int s, int e) : start(s), end(e) {}
};

I understood int start and int end but can anyone please describe what other two things represent.

Aucun commentaire:

Enregistrer un commentaire