This website works better with JavaScript.
Home
Explore
Help
Sign In
zhangyongpan
/
gitDemo
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
2 Commits
52c8f8d876
...
0502b2e5ba
Author
SHA1
Message
Date
永攀 张
0502b2e5ba
Merge branch 'master' of
http://gitea.xinje.cc/zhangyongpan/gitDemo
3 days ago
永攀 张
926e0d129c
添加c文件
3 days ago
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
+1
-0
hello.c
+ 1
- 0
hello.c
View File
@@ -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;
}
Write
Preview
Loading…
Cancel
Save