|| Logical Operators in C, Logical OR Operator. If any of the two operands is non-zero, then the condition becomes true.
C Programming Language Operators and Enums in C Language (Article) Operators and Enums in C Language (Program)
24210Program:
#include"stdio.h" void main() { int a = 5; int b = 20; if ( a || b ) { printf("Condition is true\n" ); } }
Output:
Condition is true Press any key to continue . . .
This Particular section is dedicated to Programs only. If you want learn more about C Programming Language. Then you can visit below links to get more depth on this subject.