#include <stdio.h> #define onearray(type,name,elems,content...) type one__##name [elems]={content};type* name = &one__##name[-1]; onearray(int,array,10,1,2,3,4,5,6,7,8,9,10) int main(){printf("#2:%d", array[2]);}
>>17 there's Unix way, there's The Right Way (as claimed by Lispers), there's The Right Way (as claimed by Plan9ers), there's The Right Way (as claimed by category-theoryfags) - and then there's the FrozenAnus way