|| 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
24187Program:
#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.
# C Tutorials
# JAVA Tutorials
# HTML Tutorials
# Computer Fundamental
# Data Structure
# DBMS Tutorials
SQL
# C# Language
# R Language
# PHP
# Python
# Vue JS