How one can restrict a function to throw particular exceptions only?
A. By defining multiple try-catch blocks inside a function
B. By defining a generic function within a try-catch block
C. By defining a function with throw clauses
D. Not allowed in C++
Answer: c
Explanation: We can use throw clause to mention the exceptions that a function can throw. Hence restricting the function to throw some particular exceptions only.