摘要:
unsigned short shortvar=5;
unsigned long longvar=65535;
long svar=-65535;
cout"shortvar:\t"shortvar;
cout"\taddress of shortvar:\t";
cout&shortvarendl; 阅读全文
摘要:
#include using namespace std; int area(int a,int b); void main(){ int A,B,C; cin>>A; if(A>B; if(B) // 等价于 if(B!=0) cout<<"B is number.\n"; C=area(A,B); cout<<"A * B is " <<C; } int area(i... 阅读全文