Question Detail

Which operator is used for comparing two variables

  • :=
  • =
  • =:
  • ==
Similar Questions :

1. Which class has only one unique value for all the objects of class

  • this
  • friend
  • static
  • none of above

2. ios::ate is used for

  • Set the initial position at the start of the file
  • Set the last position at the end of the file
  • Set the initial position at the end of the file
  • Set the last position at the start of the file

3. Which of the following type of class allows only one object of it to be created

  • Virtual class
  • Abstract class
  • Singleton class
  • Friend class

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. Can #define accept parameters

  • Yes
  • No
Read more from - C++ Programming Questions Answers - Chapter 1