Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define _CRT_SECURE_NO_WARNINGS
- #include <stdio.h>
- #include <stdlib.h>
- int main()
- {
- char *names[] =
- {
- "Silistra",
- "Gabrovo",
- "Lovech",
- "Tutrakan"
- };
- printf("%c\n", *names[1]);
- printf("%c\n", **names);
- printf("%s\n", names[1]);
- printf("%c\n", names[2][2]);
- printf("%s\n", *(names + 1));
- printf("%s\n", (*names) + 3);
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement