void setup() {
Serial.begin(115200);
resultat(&triple);
resultat(&quadruple);
}
void loop() {
// put your main code here, to run repeatedly:
}
void resultat( int (*pf)(int))
{
Serial.println(pf(82)) ;
}
int quadruple(int a)
{
return a * 4;
}
int triple(int a)
{
return a * 3;
}