Page 74 - DCAP404 _Object Oriented Programming
P. 74

Unit 3: Review of Functions




          9.   Prototype of a function is the function without its body. Analyze and explain with an  Notes
               example.
          10.  How can you create a C++ function f(int,char,float) that is callable by my C code?

          Answers: Self  Assessment


          1.   Statements                        2.  Main( )
          3.   Return_type                       4.  Parameter
          5.   Variable                          6.  Multiple
          7.   Type of arguments                 8.  Error
          9.   Complexity                        10.  Overloaded

          11.  Call                              12.  Normal function
          13.  Default                           14.  Maintenance
          15.  Beginning

          3.9 Further Readings




           Books      E Balagurusamy; Object-oriented Programming with C++; Tata Mc Graw-Hill

                      Herbert Schildt; The Complete Reference C++; Tata Mc Graw Hill.
                      Robert Lafore; Object-oriented Programming in Turbo C++; Galgotia.



          Online links  http://www.cplusplus.com/doc/tutorial/functions/

                      http://cpp-tutorial.cpp4u.com/structures_functions.html

































                                           LOVELY PROFESSIONAL UNIVERSITY                                   67
   69   70   71   72   73   74   75   76   77   78   79