How can I print "\n" to the console by using NSLog or printf function?
Basically I was trying to print a String with value "Hello\nWorld". My requirement is, I want to print it AS IT IS. But when I tried to print, it was printing like,
Hello
World
not as
Hello\nWorld