Please check this code. rectify error

@satyamsingla strcpy is used for character arrays. Since you are using strings, you can directly copy using the assignment operator.

1 Like