RosettaCodeData/Task/Gotchas/C/gotchas-5.c

8 lines
143 B
C
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
int foo()
{
#define size_of_bar 20 //the sizeof operator is the same as doing this essentially.
char bar[size_of_bar];
return size_of_bar;
}