C语言的逻辑或操作
C语言的逻辑或操作:
/************************************************************
Copyright(C),1998-2006,Rx.Co.,Ltd.
FileName:mainApp.cpp
Author:longronglin
Version:1.0
Date:2006-10-08
Description:
FunctionList:
1.intmain()
History:
<author><time><version><desc>
longronglin2006/10/081.0modifyxxx.
***********************************************************/
#include<stdio.h>
/*
*返回1为正确执行
*主函数
*
*/
intmain()
{
inta;
intb;
a=10;
b=1;
if(!a||b)
{
printf("test");
}
printf("test2");
return(1);
}
Copyright(C),1998-2006,Rx.Co.,Ltd.
FileName:mainApp.cpp
Author:longronglin
Version:1.0
Date:2006-10-08
Description:
FunctionList:
1.intmain()
History:
<author><time><version><desc>
longronglin2006/10/081.0modifyxxx.
***********************************************************/
#include<stdio.h>
/*
*返回1为正确执行
*主函数
*
*/
intmain()
{
inta;
intb;
a=10;
b=1;
if(!a||b)
{
printf("test");
}
printf("test2");
return(1);
}