devxlogo

Initialize Class’s Data Members Easily

Initialize Class’s Data Members Easily

Consider the following class:

   class Book    {  private:    char ISBN[11];    int year    bool in_stock;     char name[100];    //

devx-admin

Share the Post: