// Exam E00 #include using namespace std; template T fonction(int a,T* b) { cout << "template 1\n"; return b[0]; } template T fonction(T a,T b) { cout << "template 2\n"; return a; } double fonction(int a,char* b) { cout << "fonction 1\n"; return a; } double fonction(double a,double b) { double x=4.5; cout << "fonction 2\n"; return x; } int main() { char c; char chaine[20]; unsigned int tab[20]; int a=0; double i=1.1,j=2.2; fonction(i,j); // ligne -0- fonction(a,&c); // ligne -1- a = fonction(tab[0],tab[1]); // ligne -2- fonction(tab[0],c); // ligne -3- fonction(c,tab); // ligne -4- fonction(c,chaine); // ligne -5- return 0; }