Programmer Question
I've seen the new line \n
used 2 different ways in a few code examples I've been looking at. The first one being '\n'
and the second being "\n"
. What is the difference and why would you use the '\n'
?
I understand the '\n'
represents a char and "\n"
represents a string but does this matter?
Find the answer here
No comments:
Post a Comment