Skip to content

Instantly share code, notes, and snippets.

View hazirguo's full-sized avatar

HailinGuo hazirguo

View GitHub Profile
@hazirguo
hazirguo / new_array_initialization.c
Created September 20, 2013 06:29
A very intresting method of array initliazation that I have never used before!
#include <stdio.h>
int main()
{
int array[10] = {
[0 ... 9] = -1,
[8] = 0,
[0] = 45,
[1] = 34,
[5] = 12,