HOME | LAB PROGRAMMING | RATIONAL ROSE DIAGRAM | COMPUTE GRAPHICS | CLASS DIAGRAM | NETWORK PROGRAMING | BEST OF THE SITE

Comparison operator in c/c++

main()
{
int a=10,b=10,c=5,d;
d=aprintf(“%d”,i);
}
Tutorial answer:
1
Debugging solution:
d=afirst it check(compare)a and b
10<10:these is false so it will give :0
0<5:these is true so it will give :1

0 comments: