Toggle navigation
New
Learn
Snippets
Meta
News
About
API Docs
Source Code
Account
Register
Login
函数原型声明
main.c
func.c
✖
tria.c
✖
tessera.c
✖
pente.c
✖
eksi.c
✖
Run Settings
Language
C
Language Version
latest
Run Command
Snippet Metadata
Owner
Qwas
Created
Modified
Visibility
Public
#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
Chrome
Clouds
Crimson Editor
Dawn
Dreamweaver
Eclipse
GitHub
Solarized Light
TextMate
Tomorrow
XCode
Kuroir
KatzenMilch
Ambiance
Chaos
Clouds Midnight
Cobalt
idle Fingers
krTheme
Merbivore
Merbivore Soft
Mono Industrial
Monokai
Pastel on dark
Solarized Dark
Terminal
Tomorrow Night
Tomorrow Night Blue
Tomorrow Night Bright
Tomorrow Night 80s
Twilight
Vibrant Ink
Key bindings
Default
Vim
Emacs
Full width
True
False
Lines
-
Auto
+
Direct link
Raw
Embed