Question Detail

Even if we define a function in a class, then also we need to declare it first.

  • True
  • False
Similar Questions :

1. Which among following is not a valid visibility mode in c++ program ?

  • Private
  • Public
  • Protected
  • Limited

2. 37. Which of the following statements is false ?

  • Using typedef does not replace the standard C++ data type name with the new name
  • The new name defined by typedef, can be used as a type for another typedef
  • typedef defines new data types
  • None of the above

3. A class having no public constructors is

  • A public protected class
  • A public class
  • A protected class
  • A private class

4. & operator is ?

  • address operator
  • indirection operator
  • logical and
  • logical or

5. Which of the following cannot be passed to a function ?

  • Array
  • Reference variable
  • Object
  • File
Read more from - C++ Programming Questions Answers - Set 2