APPFS
Advanced practical programming for scientists
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
ex4_order.c
Go to the documentation of this file.
1
/* TK 04Oct2014
2
*/
3
#include <stdio.h>
4
5
int
f1
(
void
) { puts(
"f1"
);
return
2; }
6
int
f2
(
void
) { puts(
"f2"
);
return
3; }
7
int
f3
(
void
) { puts(
"f3"
);
return
5; }
8
int
f4
(
void
) { puts(
"f4"
);
return
7; }
9
10
int
ff
(
int
a,
int
b,
int
c
)
11
{
12
puts(
"ff"
);
13
return
a + b +
c
;
14
}
15
16
int
main
()
17
{
18
printf(
"x=%d\n"
,
ff
(
f1
(),
f2
() *
f3
(),
f4
()));
19
}
c
char c
Definition:
ex4_struct.c:4
main
int main()
Definition:
ex4_order.c:16
f3
int f3(void)
Definition:
ex4_order.c:7
f1
int f1(void)
Definition:
ex4_order.c:5
f4
int f4(void)
Definition:
ex4_order.c:8
ff
int ff(int a, int b, int c)
Definition:
ex4_order.c:10
f2
int f2(void)
Definition:
ex4_order.c:6
Generated on Sun Nov 16 2014 23:14:05 for APPFS by
1.8.6