Tag: programming languages

Questions Related to programming languages

  1. Complies Successfully

  2. Error Due to Duplicate Variables.

  3. RunTime Error

  4. Executes Successfully


Correct Option: A
  1. Relational and equality operators evaluate their operands to produce a true or false result.

  2. The equality operators have the same level of precedence And associate right to left.

  3. Relational operators all have the same level of precedence And associate right to left.

  4. The precedence of relational operators is at a lower level Than the precedence of the equality operators.


Correct Option: A
  1. It resembles the header Of the function definition

  2. It tells the compiler the Names of the parameters

  3. It must be declared before its corresponding functions can be utilized

  4. All the above are incorrect


Correct Option: C
  1. const

  2. volatile

  3. mutable

  4. All the Above

  5. None of the Above


Correct Option: D
  1. virtual destructor

  2. virtual constructor

  3. Both A and B

  4. None of the Above


Correct Option: A
  1. Explicit Instantiation

  2. Implicit instantiation

  3. Both A and B

  4. None of the Above


Correct Option: C

The member functions of a class can be defined outside the Class using

  1. Extraction Operator

  2. Insertion Operator

  3. Scope resolution operator

  4. None of the Above


Correct Option: C