print a logical operation in c programExample:-#include<stdio.h> #include<conio.h>main (){char g=66,h=98,i;clrscr();i=g>h && h>g;//i=g>h || h>g;clrscr();gotoxy(15,26);textcolor(RED+BLINK);cprintf("%d",i);getch();}Output:- bB
1 comment
Good
Post a Comment