Can two or more operators such as \n and \t be combined in a single line of program code
Yes, it’s perfectly valid to combine operators, especially if the need arises.
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.
Back
You may like the following posts:
Operators and Expressions
No comments:
Post a Comment