How would I print a new line using the decimal 10?
I have tried:
But it doesn't print a new line. However, if I use octal:Code:printf("Hello \10 world.\10");
Then it does work.Code:printf("Hello \12 world.\12");
In hexadecimal, I would use \xA, and that makes it easy to see the difference. But, for example, 10 in decimal is said to be New Line. However, 10 in otcal is Backspace. How do I write the code so that C is able to diferentiate 10 decimal from 10 octal?