Question: 1.Initialize i = p and count = 0 2.Use an array dest to hold the required substring 3.Repeat steps 4 ,5 and 6 while count
1.Initialize i = p and count = 0
2.Use an array dest to hold the required substring
3.Repeat steps 4 ,5 and 6 while count < len
4.dest[count] = s[i]
5.count = count +1
6.i = i + 1
7.Insert string terminator at end of dest
8.Exit
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
