download Mastguru Android App

Question Detail

Which among following has invalid syntax ?

  • #include
  • #include file
  • #include "file"
  • None of above
Similar Questions :

1. What is inheritance

  • Inheritance allows one class to reuse the state and behavior of another class.
  • It deals with dangling pointers
  • It deals with void pointers
  • It is type of class declaration

2. Which is not a correct variable type

  • float
  • int
  • double
  • real

3. If no constructor is there, then compiler assumes the class to have a default constructor with no arguments

  • True
  • False

4. Which arithmetic operation can be done in pointer

  • Multiplication
  • Division
  • Addition
  • None of above

5. Meaning of deed copy is

  • A deep copy creates a copy of the dynamically allocated objects too
  • A deep copy just copies the values of the data as they are
  • A deep copy creates a copy of the statically allocated objects too
  • Both A and C
Read more from - C++ Programming Questions Answers - Chapter 1
Mastguru.com comments
Mastguru Youtube Channel

Videos @mastguru

Get Free Current Affairs and Govt Jobs Alerts in your mailbox

To Appreciate Our Effort, Please Like Us