Question Detail

C++ programs must contain

  • start()
  • system()
  • main()
  • program()
Similar Questions :

1. ios::ate is used for

  • Set the initial position at the start of the file
  • Set the last position at the end of the file
  • Set the initial position at the end of the file
  • Set the last position at the start of the file

2. All members of class have which access to its members

  • private
  • public
  • protected
  • depends

3. Which operator is used to define a member of a class from outside the class definition

  • ->
  • ::
  • .
  • >>

4. How to define a destructor

  • X~() {}
  • X() {}~
  • X() ~{}
  • ~X() {}

5. Which of the following functions below can be used Allocate space for array in memory

  • calloc()
  • malloc()
  • realloc()
  • All of above
Read more from - C++ Programming Questions Answers - Chapter 1