5 odpowiedzi
+ 6
printf ("%c%c",(*(a[0])+9),*(*(a+0)+5));
First character-
a[0] -> dont walk in front of me
*(a[0] ) -> d
(*(a[0])+9) -> d+9 -> efghijkl[m]
The next character-
*(a+0) -> d
*(*(a+0)+5) -> d+5 ont [w]
Hence the output mw
+ 4
a = {"dont walk in front of me", "i walk before you"};
printf ("%c%c",(*(a[0])+9),*(*(a+0)+5));
(*(a[0]) + 9) dereference the first character from first string (letter 'd'), then increment that by 9, so it becomes 'm'.
*(*(a + 0) + 5)) dereference the 6th character (index 5) from the first string (letter 'w').
+ 1
Thanks bro
+ 1
Ok bro
0
Welcome bro 👌