Page 27 - C++
P. 27

Deduct  ½  Mark  if  Caluclate_Bill()  is  not  invoked  properly  inside  New_Bill()
                     function.

               (d)   Answer the question from (i) to (iv) based on the given below code(assume all necessary        4
                     header files are included in program):-
























































                         (i)    Write name of the class whose constructor is invoked first on the creation of a
                                new object of class Country.

                         (ii)   Write name of the data members which are accessible through the object of
                                class Country.

                         (iii)   List name of the members which are accessible through the member function

                                “void New_Country()”.
                         (iv)   What  will  be  the  size(in  bytes)  of  an  object  of  class  Country  &  State

                                respectively.


                                                        Page No. 10
   22   23   24   25   26   27   28   29   30   31   32