函数原型声明

Run Settings
LanguageC
Language Version
Run Command
#include <stdio.h> int main(void) { int num1 = 0, num2 = 0; printf("请输入两个不相等的整数,用空格分隔\n"); scanf("%d %d", &num1, &num2); int bigger(int, int); // 啊哈? 原型声明在这,也行。自动发现,不用include么? int res = bigger(num1, num2); printf("较大的一个是: %d", res); }
int bigger(int a, int b) { if (a > b) return a; else return b; }
Editor Settings
Theme
Key bindings
Full width
Lines