(Move to ...)
▼
Program to illustrate Precedence Level of Relational Operators
# include <iostream.h>
int main( )
{
int a =1 , b = 3 , c = 7 ;
cout <<"\n"<<(a<b+c);
cout <<" \n"<<(c-b!=a);
cout <<" \n"<<(a++>=c);
cout <<" \n"<<(++a==b);
cout <<" \n"<<(c%b>a);
cout <<" \n"<<(a*b<=-c);
return 0;
}
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment