Question:

 Consider the following C program:

Show Hint

In C, pointer arithmetic and string manipulation can modify arrays in-place. Here, `stringcopy(a, a + 2)` shifts the string two positions left, effectively removing the first two characters.
Updated On: Apr 7, 2025
  • @#Hello World!
  • #Hello World!
  • @Hello World!
  • Hello World!
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation

Was this answer helpful?
0
0

Questions Asked in GATE CS exam

View More Questions