0
What is meaning of backslash in string
Explain how to use backslash in coding
2 Answers
+ 3
it's used to represent escape sequences.
https://en.m.wikipedia.org/wiki/Escape_sequences_in_C
change tags. remove "about".
0
It's used as an escape character. Some letters have special use and some dont. For example, \n is special, as it makes a new line. Although, it's called an escape character because some character's can be used prior to their usual behaviour. For example, this string is completely fine: "Welcome to: \"CodingLand\"" and it means: Welcome to: "CodingLand", although theres quotes inside quotes.