title: Is there any benefit of using if statement with logical operator?
body: <p>I know that <em>if statements</em> can be used in various ways, such as an if statement with a logical operator, <em>if...else</em>, and <em>nested if statements</em> etc.</p>
  
  <p>When using a logical operator such as &amp;&amp;, || to confirm a lot of conditions, then code size becomes smaller than when using multiple nested if statements. Is there any other benefit (run time, debugging, compile time benefit etc.) of using this if statement with conditional operator? </p>