Question Detail

Which among following has invalid syntax ?

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

1. Reference is like a

  • Pointer
  • Structure
  • Array
  • None of above

2. If value has not type, then the pointer pointing to this value will be known as

  • Empty pointer
  • Null pointer
  • Void pointer
  • None of above

3. \r is used for

  • carriage return
  • new line
  • end of the line
  • vertical tab

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

5. Which operator is used for comparing two variables

  • :=
  • =
  • =:
  • ==
Read more from - C++ Programming Questions Answers - Chapter 1