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 operator is used for comparing two variables

  • :=
  • =
  • =:
  • ==

3. How we define our name for constants

  • #constant
  • #define
  • #define_constant
  • #constant_define

4. Every class has atleast one construtor

  • True
  • False

5. Difference between static and dynamic memory allocation is

  • In static memory allocation memory to be allocated in preknown
  • In dynamic memory allocation memory to be allocated in preknown
  • There is no differnece
  • Not exact difference is mentioned
Read more from - C++ Programming Questions Answers - Chapter 1