C++ concepts

C++ concepts

5 Questions Published

Questions

Question 1 Multiple Choice (Multiple Answers)

Types of Storage Class Variables

  1. Automatic
  2. Global
  3. Static
  4. External
Question 2 Multiple Choice (Single Answer)

__________ pointer is a type of pointer of any data type and generally takes a value as zero

  1. Vptr
  2. Void
  3. Null
  4. Zero
Question 3 Multiple Choice (Single Answer)

Which of the following statements are true?a. By default,all members of structure are private.b.new and delete operator can be overlaodedc.friend fucntion can overload [],(),= operators.

  1. a only
  2. a and b
  3. b only
  4. none of the above
Question 4 Multiple Choice (Single Answer)

During Compilation, The function call is replaced by function code for which function?

  1. Virtual functions
  2. Inline functions
  3. Static functions
  4. Friend functions
Question 5 Multiple Choice (Single Answer)

The idea of hiding data that are not needed for presentation is

  1. Encapuslation
  2. Abstraction
  3. Information Hiding
  4. Polymorphism