Easy Tutorial
For Competitive Exams

Which of the following statements is incorrect?

Friend keyword can be used in the class to allow access to another class.
Friend keyword can be used for a function in the public section of a class.
Friend keyword can be used for a function in the private section of a class.
Friend keyword can be used on main().
Additional Questions

Which of the following statement is correct regarding destructor of base class?

Answer

Which of the following two entities (reading from Left to Right) can be connected by the dot operator?

Answer

How can we make a class abstract?

Answer

Which of the following access specifies is used in a class definition by default?

Answer

Which of the following function prototype is perfectly acceptable?

Answer

Which of the following statement is correct?

Answer

Which of the following statement is correct?

Answer

Which of the following statement will be correct if the function has three arguments passed to it?

Answer

Which of the following statement is incorrect?

Answer

Which symbol will be used with grep command to match the pattern pat at the beginning of a line?

Answer
Share with Friends
Privacy Copyright Contact Us