SyntaxFix
Write A Post
Hire A Developer
Questions
I use this to convert char to string (an example) :
char c = 'A'; char str1[2] = {c , '\0'}; char str2[5] = ""; strcpy(str2,str1);