本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
zhangyongpan
/
gitDemo
關注
1
收藏
0
複製
0
程式碼
問題
0
合併請求
0
版本發佈
0
Wiki
活動
瀏覽代碼
添加c文件
master
永攀 张
3 天之前
父節點
d58ce75182
當前提交
926e0d129c
共有
1 個檔案被更改
,包括
1 行新增
和
0 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
hello.c
+ 1
- 0
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;
}
Write
Preview
Loading…
取消
儲存