Quote:
Originally Posted by shabbir View Post
There is no function that can return anything and if main returning anything would not solve the issue.

No one would do that for you unless you show your effort to do it yourself.
Oh yes, I didn't noticed that it's main function.
BTW. you can use function strcat() for concatenating strings together, unless you wanted to do it literally your own way without using any preprogrammed functions.