We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d75b89a commit 2fbe72bCopy full SHA for 2fbe72b
Chapter11/array3.c
@@ -1,12 +1,21 @@
1
// array3.c
2
// Chapter 11
3
-// <book title>
+// Learn C Programming
4
//
5
// Demonstrate using arrays in functions and
6
-// as parameters to functions..
+// as parameters to functions.
7
+//
8
+// Depends upon:
9
10
+// array3.h
11
12
+// Compile with:
13
14
+// cc array3.c -o array3 -lm -Wall -Werror -std=c11
15
16
+// NOTE -lm switch to include libm.a (math library corresponding to math.h)
17
+// may not be required for all compilers/environments.
18
-// build with:
-// cc array3.c -o array3 -lm -Wall -Werror -std=c11
19
20
#include <stdio.h>
21
#include <math.h>
0 commit comments