Question Detail

C++ programs must contain

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

1. Which of the following type of class allows only one object of it to be created

  • Virtual class
  • Abstract class
  • Singleton class
  • Friend class

2. 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

3. What is abstract class

  • Whose objects cant be created
  • Whose objects can be created
  • Depends on class
  • None of above

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

  • calloc()
  • malloc()
  • realloc()
  • All of above

5. Difference between static and dynamic memory allocation is

  • In static memory allocation memory to be allocated in preknown
  • In dynamic memory allocation memory to be allocated in preknown
  • There is no differnece
  • Not exact difference is mentioned
Read more from - C++ Programming Questions Answers - Chapter 1