Which of the following is used for generic programming?

a) Virtual functions
b) Modules
c) Templates
d) Abstract Classes

1 thought on “Which of the following is used for generic programming?”

  1. c
    Explanation: Templates are used for generic programming. They help in making generic functions and classes hence achieving the generic codes.

Leave a Comment