Question Detail

How we mark the end of c++ statement

  • ;
  • :
  • >>
  • <<
Similar Questions :

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

  • ->
  • ::
  • .
  • >>

2. Reference is like a

  • Pointer
  • Structure
  • Array
  • None of above

3. What is the meaning of base class in C++

  • Another class got inherit from this class
  • It inherit other class
  • It has a pointer variable
  • It is the first class declared

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

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

5. If no constructor is there, then compiler assumes the class to have a default constructor with no arguments

  • True
  • False
Read more from - C++ Programming Questions Answers - Chapter 1