Plss remove multiple line in the below code
Hi @kailash_01
In substring function, in the second for loop j should start from i. It should be like :
for(int j=i;a[j]!=’\0’;j++)
Here is your corrected code :
Hi @kailash_01
In substring function, in the second for loop j should start from i. It should be like :
for(int j=i;a[j]!=’\0’;j++)
Here is your corrected code :