How to add new content to a string array? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to add new content to a string array?

I got to a stall while developing a studying exercise, I declared an array of type char and left it blank. The ideia was to assign a string using multiple if scenarios and print the result only at the very end. It did not work for all my workarrounds and I had to modify the code in order to make it work, but it is not the way it was proposed to do.

19th May 2021, 5:59 AM
Daniel Ventura
Daniel Ventura - avatar
1 Answer
+ 3
Please post your code here so that others can get a better idea about your problem.
19th May 2021, 6:13 AM
Calvin Thomas
Calvin Thomas - avatar