Skip to content

Instantly share code, notes, and snippets.

@aleclaws
Created March 15, 2016 21:24
Show Gist options
  • Save aleclaws/d67e44ca24d56dc08c0e to your computer and use it in GitHub Desktop.
Save aleclaws/d67e44ca24d56dc08c0e to your computer and use it in GitHub Desktop.
#include <stdio.h>
#include <stdlib.h>
struct _keywords {
const char *FIRST;
const char *SECOND;
};
struct _keywords Keywords = {
.FIRST = "AAA",
.SECOND = "BBB"
};
int main(void) {
printf("first: %s\n", Keywords.FIRST);
printf("second: %s\n", Keywords.SECOND);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment