Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main()
- {
- char buf[10] = {'0','1','2','3','4','5','6','7','8','9'};
- char *ptr;
- int **matrix;
- ptr = buf;
- matrix = (int**)ptr;
- printf("%c %c\n", matrix[0][0], matrix[0][1]);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement