C++ Programming Questions


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



 
 

    Discussion

Post your comment / Share knowledge