blob: a63c1c79a8499400b94a9a950a0b75844eb71e03 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
extern int global;
extern void hello(int);
int test(int argc, char **argv)
{
global = 1; //inter-module data access
printf("In test() global = %d\n", global);
hello(2); //inter-module call
}
int my_main(int argc, char **argv)
{
exit(0);
}
|