initializing an array of ints

This is a GCC extension:

int a[100] = {[0 ... 99] = 1};

Leave a Comment