Program To Show Logical Operators In C Programming Language
Logical Operators
/* program to demonstrate
logical operator
*/
#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
int a=0,b=0;
printf(" %d\n",a&&b);
printf("%d\n",a||b);
printf("%d\n",!(a||b));
getch();
}