I have 2 strings.
char* a = "hi";
char* b = "";
How can I use strcpy to copy string a to string b?
please provide me the codes and give me explanation if possible.
Thank you very much.
Type: Posts; User: Phantom2303
I have 2 strings.
char* a = "hi";
char* b = "";
How can I use strcpy to copy string a to string b?
please provide me the codes and give me explanation if possible.
Thank you very much.
How can I check if a string is a positive integer in C, with nothing else attached with it?
I have tried using atoi(), but atoi would still give me a legit value(not 0)
even if the string is...