2 Commits

Se han modificado 1 ficheros con 1 adiciones y 0 borrados
Dividir vista
  1. +1
    -0
      hello.c

+ 1
- 0
hello.c Ver fichero

@@ -11,5 +11,6 @@ int main() {
MathFunc f = add; // 将加法函数赋值给函数指针
int result = f(3, 5); // 通过函数指针调用加法函数
printf("3 + 5 = %d\n", result); // 输出:3 + 5 = 8
result = f(2,8);
return 0;
}

Cargando…
Cancelar
Guardar