download Mastguru Android App

Question Detail

Data members and member functions are enclosed within ?

  • union
  • structure
  • class
  • array
Similar Questions :

1. Inheritance is transitive in nature.

  • True
  • False

2. The function used to define the task assigned to an operator is ?

  • Virtual function
  • Static function
  • Operator function
  • Friend function

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

  • !Classname( )
  • @Classname( )
  • $Classname( )
  • ~Classname( )

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

5. Data members and member functions are enclosed within ?

  • union
  • structure
  • class
  • array
Read more from - C++ Programming Questions Answers - Set 2
Post a comment