extern.c
来自「C语言精彩百例第1-44例 实例1 数据类型转换 实例2 转义字符 实例3」· C语言 代码 · 共 18 行
C
18 行
# include <stdio.h>
void main()
{
/* 说明本文件将要使用其它文件中的函数 */
extern int multiply();
extern int sum();
int a, b;
int result;
printf("Please input a and b: ");
scanf("%d, %d", &a, &b);
result = multiply(a, b);
printf("The result of multiply is: %d", result);
result = sum(a, b);
printf("\nThe result of sum is: %d\n", result);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?