Question Detail

Stacks are based on ?

  • FIFO
  • LIFO
  • FILO
  • All of above
Similar Questions :

1. How we can define member function outside the class ?

  • Using union
  • Using structure
  • Using pointers
  • Using scope resolution

2. The members of a class are ?

b) by default are private
c) are made private by declaring as private
d) none of the above]

  • have no visibility by default
  • public by default
  • private by default
  • protected by default

3. Among following which will give the size of object or type ?

  • Calloc
  • Malloc
  • Sizeof
  • Realloc

4. What is default visibility mode for members of classes in C++ ?

  • Private
  • Public
  • Protected
  • Depends

5. && means ?

  • Logical OR
  • Bitwise OR
  • Logical AND
  • Bitwise AND
Read more from - C++ Programming Questions Answers - Set 2