From 926e0d129c93b75097cf384d0144ebf28d6cb343 Mon Sep 17 00:00:00 2001 From: zhangyongpan Date: Tue, 15 Jul 2025 14:05:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0c=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hello.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hello.c b/hello.c index fce69a1..55a14c7 100644 --- a/hello.c +++ b/hello.c @@ -9,5 +9,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; } \ No newline at end of file