A Admin • 833K Points Coach Q. How can we restrict a function to throw certain exceptions? (A) Defining multiple try and catch block inside a function (B) Defining generic function within try block (C) Defining function with throw clause (D) It is not possible in CPP to restrict a function Correct Answer - Option(C) Views: 14 Filed under category C++ Hashtags: Share Manage Tags
Discusssion
Login to discuss.