Easy Tutorial
For Competitive Exams

How can we make a class abstract?

By making all member functions constant.
By making at least one member function as pure virtual function.
By declaring it abstract using the static keyword.
By declaring it abstract using the virtual keyword.
Additional Questions

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

Which command is used to sort the lines of data in a file in reverse order

Answer

Which command is used to display the top of the file?

Answer

Which command is used to remove a directory?

Answer
Share with Friends
Privacy Copyright Contact Us