summaryrefslogtreecommitdiff
path: root/05/main.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-02-07 14:52:50 -0500
committerpommicket <pommicket@gmail.com>2022-02-07 14:52:50 -0500
commit9372a72d433d511dda6c40ddf40b4b8367cb85b8 (patch)
tree0350803697984ec5995aaf630af0976ce03ead47 /05/main.c
parentc2377fa40ff2d5b4ad13efc9e2953218a3cba31f (diff)
proper call typing?
Diffstat (limited to '05/main.c')
-rw-r--r--05/main.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/05/main.c b/05/main.c
index 17e4404..3d7b1ae 100644
--- a/05/main.c
+++ b/05/main.c
@@ -1,9 +1,15 @@
/* static int g; */
+int f(int a, float x[], double y, ...) {
+}
+
+float * g() {
+}
+
int main() {
- int a = exit;
int b[] = {1,2,3};
- exit(1, 17, a+b);
+ int a = f(1, 17, b, 36, 55.0, 22.3f);
+ float *f = g(17.2, b);
}
/* int f(int x, int y[3]) { */