This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Breaking instructions into two lines

Hi everyone,

How can I break a long instruction line into two or three lines to improve readability of the program written in " C language ?

Best regards,
Deepak

Parents
  • 'C' treats all whitespace sequences (including comments) as equivalent - so, anywhere that one space is permitted, you can put as many spaces, tabs, newlines and comments as you like!

    *nitpick*

    The C compiler does treat all whitespace sequences as equivalent. The preprocessor, however, doesn't.

    Multiline macros, for example, need the '\' character to signal the continuation after the line break.

Reply
  • 'C' treats all whitespace sequences (including comments) as equivalent - so, anywhere that one space is permitted, you can put as many spaces, tabs, newlines and comments as you like!

    *nitpick*

    The C compiler does treat all whitespace sequences as equivalent. The preprocessor, however, doesn't.

    Multiline macros, for example, need the '\' character to signal the continuation after the line break.

Children