download Mastguru Android App

Question Detail

What is default scope for a structure ?

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

1. Stacks are based on ?

  • FIFO
  • LIFO
  • FILO
  • All of above

2. The objects can directly access ?

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

3. The private data members of a class are accessible ?

  • Directly to objects of that class
  • To any function defined outside a class
  • Only to the member functions
  • Only using keyword static

4. How we can access data members using objects ?

  • object@datamember
  • object*datamember
  • object->datamember
  • object.datamember

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

  • free
  • void
  • empty
  • null
Read more from - C++ Programming Questions Answers - Set 2
Post a comment