Created
April 27, 2018 23:18
-
-
Save betseg/6177ec9806f677e87b7b419557a314b9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main() { | |
int i = 0; | |
int arr[10] = { [0 ... 9] = ++i, }; | |
for(int j=0;j<10;j++) | |
printf("%d ",arr[j]); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment