download Mastguru Android App

Question Detail

What is data hiding ?

  • It is related with hiding internal object details
  • It is related with showing internal object details
  • It is related with datatypes
  • None of above
Similar Questions :

1. Inheritance is referred to as

  • “is a” relationship
  • "have a" relationship
  • both of above
  • none of above

2. Operator overloading is ?

  • giving new meaning to existing c++ operators
  • making c++ operators work with objects
  • giving c++ operators more than they can handle
  • making new c++ operators

3. The objects can directly access ?

  • Public members
  • Private members
  • Both of above
  • None of above

4. Which of following valid option will not return a value in c++ ?

  • free
  • void
  • empty
  • null

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