+ 1

Declare an initially empty string array in c, and depending on user entry (char input).

Declare an initially empty string array in c. And depending on user entry (char input). How can I append these chars to the array?

19th Jul 2021, 6:35 PM
Abdurrahman Azaz
Abdurrahman Azaz - avatar
3 Respostas
+ 1
Thank you, this is very helpful
21st Jul 2021, 4:05 PM
Abdurrahman Azaz
Abdurrahman Azaz - avatar
+ 2
Use char array and via using scanf store values and increment position From 0 to n
19th Jul 2021, 6:55 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 1
Thank you, is using strcat(my_str, my_char) correct?
19th Jul 2021, 7:09 PM
Abdurrahman Azaz
Abdurrahman Azaz - avatar