According to given data:
x * 3 && 3 || j | k
= 1.5 && 3 || j | k
= 1 || j |k
= 1
So, option (C) is correct.
PREVIOUS YEAR SOLVED PAPERS MCQ - August 2016 Paper 2
int * f [ ] ( ); is an array of functions returning pointers to integers. For more information on pointers declaration Refer:How to declare a pointer to a function? So, option (B) is correct.
Friend of the class can be member of some other class but Friend functions are not the members of a particular class. For more information on Friend function Refer:Friend class and function in C++ Option (C) is correct.
Basically polymorphism means having many forms. In C++, polymorphism requires Inheritance, Virtual functions and references, because polymorphism occurs when there is a hierarchy of classes and they are related by inheritance which include virtual functions and references. So, option (D) is correct.
A function template in C++ provides 2 level of generalization. For more information Refer:Templates in C++ Option (C) is correct.

