NOCHANGE.C
资源名称:C.rar [点击查看]
上传用户:qq5388545
上传日期:2022-07-04
资源大小:29849k
文件大小:0k
源码类别:
界面编程
开发平台:
C/C++
- #include <stdio.h>
- void display_and_change(int first, int second, int third)
- {
- printf("Original function values %d %d %dn",
- first, second, third);
- first += 100;
- second += 100;
- third += 100;
- printf("Ending function values %d %d %dn",
- first, second, third);
- }
- void main(void)
- {
- int a = 1, b = 2, c = 3;
- display_and_change(a, b, c);
- printf("Ending values in main %d %d %dn", a, b ,c);
- }