[Solved] I had issue in below mention program to assign a value to the pointer.String concatenation Program( *s1=*s2) [closed]

So you are getting access voilation…. The problem is that your buffers are probably overflowing and you have no length check in your code… The buffers you have allocated are only 25 bytes long char str1[25], str2[25]; so to intruduce a length check, add an extra parameter to concat which tells how long the output … Read more