下列各数中,是负数的是[ ]
A.﹣(﹣3)
B.﹣|﹣3|
C.(﹣3)2
D.|﹣3|
答案:B
上级管理部门或企业自身对安全生产状况进行定期或不定期检查的制度是( )。
A.安全生产责任制度
B.群防群治制度
C.安全生产检查制度
D.安全责任追究制度
下列程序的执行结果是( )。#include<iostream.h> class Sample {int x,y;public: Sample() {x=y=0;}Sample(int a,int b) {x=a;y=b;}~Sample(){ if(x==y) cout<<"x=y"<<end1; else cout<<"x!=y"<<end1; } void disp() { cout<<"x="<<x<<",y="<<y<<end1; } }; void main() { Sample s1(2,3); s1.disp(); }
A.x=2,y=2
B.x=3,y:3
C.x=2,y=3
D.x=3,y=2