Question: Given the function below, which of the following are needed to change the function into a function template? int smallest( int array[], int size) {

Given the function below, which of the following are needed to change the function into a function template?

int smallest( int array[], int size) { int small=0, i; for(i=0;i

A. the data type must be numeric

B. the data type must be character based.

C. the data type must be an integer

D. the data type must have a < (less than) operator defined for it in order process the selective if statement.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!