RosettaCodeData/Task/Gotchas/C/gotchas-8.c
2025-02-27 18:35:13 -05:00

4 lines
191 B
C

int gotcha(char bar[]) /* could have been: int gotcha(char *bar) */
{
return sizeof(bar); /* returns the size of a pointer to char, probably 4 on 32-bit systems and 8 on 64-bit systems */
}