Sunday, July 12, 2009

What is the code for leaving space in C language?

I want to leave a blank space in C code.





EX. "\n" for new line.





what is for single space.

What is the code for leaving space in C language?
The space bar works pretty well.
Reply:There is no code for space similar to '\n'. It is just the space bar just like you used to enter your question.
Reply:I'm not sure there is one - assuming this is for formatted output, I'd expect just leaving a space to work.





If you just need "some" whitespace, try "\t" for a tab character.


No comments:

Post a Comment