Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wytrzeszcz@nfs:~$ nano test.c
- wytrzeszcz@nfs:~$ gcc test.c
- wytrzeszcz@nfs:~$ ./a.out
- a[10]- 12
- *b 4
- wytrzeszcz@nfs:~$ cat test.c
- #include <stdio.h>
- int main()
- {
- char a[12];
- char *b;
- printf ("a[10]- %d \n *b %d\n",sizeof(a),sizeof(b));
- return 0;
- }
- wytrzeszcz@nfs:~$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement