adding space in strcat
I have two strings char str1[41] e char str2[41]. If I use strcat function
to concatenate them I get an unique string without space instead I would
have space between these.
this could be a way:
strcat(strcat(str1, " "),str2)
Does it exist another way?
No comments:
Post a Comment