Logical Operator

Thursday, 8 September 2011

#include<stdio.h>
#include<conio.h>
void main()
{
int a=40,b=30,c=50,d,e;
clrscr();
d=a==40&&b==c;
e=b==a&&b<c;
printf("d=%d\ne=%d",d,e);
getch();
}


OUTPUT:


d=0
e=0










No comments:

Post a Comment

 

Blogger news

Blogroll

Enter your email address:

Delivered by FeedBurner

Total Pageviews

Followers

Most Reading