home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
BEEHIVE
/
TESERACT
/
TESS-057.ZIP
/
C-STUFF3.LBR
/
EQUAL.C
< prev
next >
Wrap
Text File
|
1989-01-22
|
384b
|
23 lines
#include "stdio"
main()
{
int a, b, c;
a = 3;
/*
b is assigned a non-zero value, true
*/
b = a == 3;
/*
c is assigned a zero value, false
*/
c = a != 3;
/*
b == c will be false (0)
*/
printf(" b == c should be zero (false),");
printf(" the value is %d \n",b == c);
}