cppcheck/samples/AssignmentAddressToInteger/good.c

11 lines
82 B
C

int* foo(int *p)
{
return p + 4;
}
int main()
{
int i[10];
foo(i);
}