Alternative:
static int bla[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1}; for (int i = 0; i < 30; i++) { printf("%d\n", bla[i]); }
Good, it is faster in execution compared to all ...
ouah
source share