📄 extern.c
字号:
# 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -