Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main(){
- int *p1[1] = {2018};
- char *p2[1] = {"abcd"};
- p1[0] = p2[0];
- printf("%snn", p1[0]); /* выводит abcd */
- return 0;
- }
- int *p1[1] = {2018};
- p1[0] = p2[0];
- printf("%snn", p1[0]);
- printf("%snn", p1[0]);
Add Comment
Please, Sign In to add comment