![](https://static.youtibao.com/asksite/comm/h5/images/m_q_title.png)
有以下程序段:int n=0,p;do{ scanf("%d",&p);n++;}while(p!=12345&&n<3);此处do-while循环的结束条是()
A.p的值不等值12345并且n的值小于3
B.p的值等值12345并且n的值大于等于3
C.p的值不等值12345或者n的值小于3
D.p的值等值12345或者n的值大于等于3
![](https://static.youtibao.com/asksite/comm/h5/images/m_q_a.png)
D、p的值等值12345或者n的值大于等于3
![](https://static.youtibao.com/asksite/comm/h5/images/solist_ts.png)
A.p的值不等值12345并且n的值小于3
B.p的值等值12345并且n的值大于等于3
C.p的值不等值12345或者n的值小于3
D.p的值等值12345或者n的值大于等于3
D、p的值等值12345或者n的值大于等于3
A.ABCD
B.ABCDEFGHIJKL
C.ABCDEFGHIJKLMNOPQRST
D.AEIM
A.i=p
B.[p]=a[i]
C.p=j
D.p=i
E.我不会
A.while(i<=100)
B.while(i<=100)
C.while(i>100)
D.while(i<100)
若有以下程序:
#include using namespace std ; class Point { int x, y; public :
Point () { x = 0; y = 0; } void SetPoint (int x1, int y1) { x = x1; y = y1; } void DisPoint () { cout << "x=" << x << "," << "y=" << y << endl ; } }; int main() { Point * p = new Point ; p-> SetPoint (5, 12); p-> DisPoint (); delete p; return 0; } 上面程序的输出结果为:
A.0
B. 1
C. 3
D. 6
A.2
B.1
C.4
D.3
A.34
B.43
C.7
D.0
A.i = 4 and j = 4
B.i = 5 and j = 5
C.i = 5 and j = 4
D.i = 4 and j = 5