download Mastguru Android App

Question Detail

& operator is ?

  • address operator
  • indirection operator
  • logical and
  • logical or
Similar Questions :

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

2. int *ptr[5];

  • a pointer of 5 int elements
  • an array of 5 int pointers
  • an array of 5 elements returning an int value
  • none of above

3. Enumerators are stored by the compiler in ?

  • string
  • integer
  • float
  • any of above

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

  • True
  • False

5. 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.
Read more from - C++ Programming Questions Answers - Set 2
Post a comment