![zik.saleeba](/assets/img/avatar_default.png)
Macros inside functions now work correctly. git-svn-id: http://picoc.googlecode.com/svn/trunk@605 21eae674-98b7-11dd-bd71-f92a316d2d60
13 lines
184 B
C
13 lines
184 B
C
#include <stdio.h>
|
|
|
|
void printArray(void) {
|
|
#define SIZE 10
|
|
int array[SIZE] = {5, 4, 3, 9, 1, 8, 6, 7, 5, 2};
|
|
printf("4: %d\n", array[4]);
|
|
}
|
|
|
|
void main()
|
|
{
|
|
printArray();
|
|
}
|