Can two or more operators such as \n and \t be combined in a single line of program code?

4 years ago
C Programming

Yes, it's perfectly valid to combine operators, especially if the need arises. For example: you can have a code like " printf ("Hello\n\n\'World\'") " to output the text "Hello" on the first line and "World" enclosed in single quotes to appear on the next two lines.

1
Sanisha Maharjan
Jan 20, 2022
More related questions

Questions Bank

View all Questions