in Programming in C
311 views
0 votes
0 votes

in Programming in C
311 views

1 Answer

0 votes
0 votes
In the first loop only the pointer address is incremented and array's intial value is iteratively printed. In the second loop a pointer to a array is dereferenced, the value is printed and then the pointer is incremented.

So o/p should be

                      2 2 2 2 2

                      2 8 3 4 4

Related questions

0 votes
0 votes
0 answers
1