Download User's Guide
Transcript
PARM_WILD
Problem #1
The following code attempts to pass the address of a local variable to the routine
foo but contains an error at line 14 - the address operator (&) has been omitted.
/*
* File: parmwld1.c
*/
void foo(a)
int a[];
{
return;
}
Error Codes
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
main()
{
int i = 123, *a;
a = i;
foo(a);
return (0);
}
307