0
How to create space in string?
I have been using '\t' but it creats 3 spaces in a row. As i want single space i used ' ' but it showed an error. I have to write "Welcome to C Programming." using string.
2 odpowiedzi
0
You can write same as it is what you expexting when assigning..
Ex:
char s[] =" Welcome to C programming";
printf("%s", s);
Can you show how your trying which is showing error if still...?
https://www.sololearn.com/discuss/333866/?ref=app
+ 1
What say if you share your code link within the thread Description? let people see the code, right now nobody knows what cause your code isn't here.
Just follow this guide if you didn't know how to share links 👇
https://www.sololearn.com/post/75089/?ref=app