download Mastguru Android App

Question Detail

Size of a char is ?

  • 1
  • 2
  • 3
  • 4
Similar Questions :

1. The objects can directly access ?

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

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

3. The derived class constructor

  • never passes any values to base class constructor
  • can pass arguments only to one base class constructor function
  • is responsible for passing the entire test of arguments needed by base class constructors
  • none of above

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

  • Private
  • Public
  • Protected
  • Depends

5. What is actual syntax of destructor in c++ ?

  • !Classname( )
  • @Classname( )
  • $Classname( )
  • ~Classname( )
Read more from - C++ Programming Questions Answers - Set 2
Post a comment