单项选择题

执行下列程序段,结果是
#include<iostream.h>
void main( )
int x=40;
char y='C';
int n; •
n=(x&0) xff) &&(y>'B') ;
cout < < n;

A.0
B.1
C.2
D.3
<上一题 目录 下一题>
热门 试题

单项选择题
有如下程序: #inClude<iostream.h> #dehne N 2 #dehne M N+1 #denne NUM 2 * M+1 Void main( ) int i; for(i=1;i<=NUM;i++) cout < < i; 该程序中的fof循环执行的次数是
A.5
B.6
C.7
D.8
单项选择题
非空的循环单链表head的尾节点(由p所指向) ,满足
A.p->next==NULL
B.p==NULL
C.p->next=head
D.p=head
相关试题
  • 下面程序的输出结果是 #include<iostrea...
  • 下列程序是用来判断数组中特定元素的位置所...
  • 以下程序的输出结果是 #include<iostrea...
  • 下列程序的运行结果是 #inClUde<iostrea...
  • 有如下程序: #include<iostream.h> ...