✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
float mult(float a, float b) { return a, b; }
float add(int a, int b) { return a + b; }
static float sub(float a, float b) { return a - b; }
int mod(int x, int y) { return x %y; }
int main()
{
float (*f1)(float, float);
f1 = ... ; // Auf welche Funktion darf/kann f1 zeigen?
f1 = (4.0f, 7.0f);
return 0;
}
Auf welche der vier Funktionen (natürlich nicht gleichzeitig) kann f1 zeigen? (ohne warning: assignment from incompatible pointer type)