title: Good C-coding style for multiple lines if conditions
body: <p>I am programming a project in C and have a problem: I've got a lot of <code>if</code> conditions and it might get really hard for other people to read. I haven't yet found a similar question on the internet.</p>
  
  <p>Do you have an idea or example how to make my code more readable?</p>
  
  <p>Here is the C Code:</p>
  
  <pre><code>if( ((g_cycle_cnt == uartTxSecondaryMsg[3][msgPos[3]].sliceNo) ||   //correct slicenumber...
      (uartTxSecondaryMsg[3][msgPos[3]].sliceNo == -1) ||             // or as fast as possible...                                            
  
    ( (uartTxSecondaryMsg[3][msgPos[3]].sliceNo == -2) &amp;&amp;
     ((uartTxSecondaryMsg[3][msgPos[3]].timeFrameBegin&gt;=g_uptime_cnt) &amp;&amp; 
      (uartTxSecondaryMsg[3][msgPos[3]].timeFrameEnd&lt;=g_uptime_cnt)))) &amp;&amp;
  
     ((dataProcessingFlag &amp; SECONDARY_MSG_ANNOUNCED_CH4) == SECONDARY_MSG_ANNOUNCED_CH4) )
  </code></pre>