+ 2

Can anyone help me with this question in c?

What is the output of this code? #include <stdio.h> int main() { static int a[] = {10, 20, 30, 40, 50}; static int *p[11= {a, a+3, a+4, a+1, a+2}; int **ptr = p; ptr++; printf("%d%d", ptr - p, **ptr); }

9th Mar 2022, 1:20 PM
Aly Alsayed
Aly Alsayed - avatar
1 Resposta
9th Mar 2022, 1:24 PM
Jayakrishna 🇮🇳