Why using operator OR (logical operator) in if-else, why not using AND (logcial operator) in if-else : <p>I made the alphabet with the appearance of using stars to form the alphabet, but I was confused as to why to use the OR operation instead of the AND operation on if-else?</p>

<pre><code>int row,column;
for(row=1;row&lt;=4;row++){
    for(column=1;column&lt;=7;column++){
        if((column==1 || column==2 || column==3 || column==5 || column==6 || column==7) &amp;&amp; (row==1))
            printf(" ");
        else if((column==1 || column==2 || column==4 || column==6 || column==7) &amp;&amp; (row==2))
            printf(" ");
        else if((column==1 || column==7) &amp;&amp; (row==3))
            printf(" ");
        else if((column==2 || column==3 || column==4 || column==5 || column==6) &amp;&amp; (row==4))
            printf(" ");
        else
            printf("*");
    } printf("\n");
}
</code></pre>

<p>Why using operator || in if-else? why not using operator &amp;&amp; in if-else for condition column...</p>
