Created
March 16, 2018 14:41
-
-
Save mijaros/1971d42ca89fce8c76f8648ecba762da 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 <string.h> | |
#include <stdio.h> | |
struct test { | |
char a[1024]; | |
}; | |
int main(void) | |
{ | |
struct test arr[20] = { | |
{"a__hoj"}, | |
{"b__hoj"}, | |
{"c__hoj"}, | |
{"d__hoj"}, | |
{"e__hoj"}, | |
{"f__hoj"}, | |
{"g__hoj"}, | |
{"h__hoj"}, | |
{"i__hoj"}, | |
{"j__hoj"}, | |
{"k__hoj"}, | |
{"l__hoj"}, | |
{"m__hoj"}, | |
{"n__hoj"}, | |
{"o__hoj"}, | |
{"p__hoj"}, | |
{"q__hoj"}, | |
{"r__hoj"}, | |
{"s__hoj"}, | |
{"t__hoj"}, | |
}; | |
size_t iter = 12; | |
printf("%s %s\n", arr[iter], iter[arr]); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment