What is a bd(b) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is a bd(b)

#include <string> #include "Birthday.h" class Person { public: Person(string n, Birthday b) : name(n), bd(b) { } private: string name; Birthday bd; };

1st May 2019, 5:29 AM
Mohit Ravindra Jadhav
Mohit Ravindra Jadhav - avatar
1 Answer
+ 3
Constructor member initialization https://www.sololearn.com/learn/CPlusPlus/1896/
1st May 2019, 5:57 AM
Ipang