Cant figure out the reason for SIGSEGV in the second test case.
Increase the size of char array by 1 because there is always a null character at the end of any string.
1 Like
Cant figure out the reason for SIGSEGV in the second test case.
Increase the size of char array by 1 because there is always a null character at the end of any string.