Question Detail

What is default scope for a structure ?

  • Private
  • Protected
  • Public
  • None of aobve
Similar Questions :

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

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

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

  • True
  • False

3. A variable is defined within a block in a body of a function. Which of the following are true ?

  • It is visible from the point of definition to the end of the program.
  • It is visible throughout the function.
  • It is visible from the point of definition to the end of the block.
  • It is visible throughout the block.

4. Queues are based on ?

  • LIFO
  • FIFO
  • LILO
  • FILO

5. C++ is a ?

  • Procedural programming language
  • Structural programming language
  • Low level language
  • Object oriented programming language
Read more from - C++ Programming Questions Answers - Set 2