Skip to content

Instantly share code, notes, and snippets.

@OsandaMalith
Last active May 28, 2019 12:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save OsandaMalith/cfa05fd9552a2a71ab8b6b6ae25c4b41 to your computer and use it in GitHub Desktop.
Save OsandaMalith/cfa05fd9552a2a71ab8b6b6ae25c4b41 to your computer and use it in GitHub Desktop.
#include <stdio.h>
//@OsandaMalith
const char *string[][2] = {
{"Osanda","Malith"} ,
{"ABC","JKL"},
{"DEF","MNO"},
};
int main() {
printf("%s %s\n", string[0][0], string[0][1]);
printf("%s %s\n", **string, *(*string+1));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment