Question:

Consider the following C program:

The output of the above program is __________ . (Answer in integer)

Show Hint

When dealing with pointer arithmetic in C, remember that incrementing a pointer moves it to the next element in the array. Be mindful of order of operations when modifying values through pointers.
Updated On: Apr 7, 2025
Hide Solution
collegedunia
Verified By Collegedunia

Solution and Explanation

Was this answer helpful?
0
0

Questions Asked in GATE CS exam

View More Questions