What is the difference between "\n" and '\n'.?
Also what is the difference between " " and ' '??
doraemon
0
Newbie Poster
Recommended Answers
Jump to Post>What is the difference between "\n" and '\n'.?
>Also what is the difference between " " and ' '??
Nothing. :DBut seriously, the first is a string literal and the second is a character literal. The difference, aside from the data type, is that a string literal is …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.