Answer the question
In order to leave comments, you need to log in
How to make a space after a letter (in my case after a comma) when it is in an array?
For practice, I wrote a small program, everything works, but as soon as I put a space after the comma, the compiler immediately swears, I remove it - everything is fine, it compiles
Code:
char arr[12] = {'H', 'e', 'l', 'l', 'o', ', ', 'w', 'o', 'r', 'l', 'd', '!'};
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question