cppcheck/samples/AssignmentAddressToInteger/good.c

12 lines
96 B
C

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