单项选择题

可在C程序中用作用户标识符的一组标识符是()

A. and
2007
B. Date
y-m-d
C. Hi
Dr.Tom
D. case
Bigl

<上一题 目录 下一题>
热门 试题

单项选择题
以下程序的功能是:建立一个带有头结点的单向链表,并将存储在数组中的字符依次转存到链表的各个结点中,请为下划线处选择正确的选项。() #include < stdlib. h > stuct node char data; struct node * next; ; ( ) CreatList(char * s) struet node * h, * p, * q; h = (struet node * ) ma]loc(sizeof(struct node) ); p=q=h; while( * s! =' 0') p = ( struct node * ) ma]loc ( sizeof( struct node) ); p- >data= *s; q- >next=p; q=p; s++; p- > next =' 0'; return h main( ) char str[ ] = link list ; struet node * head; head = CreatList (str);

A. char *
B. struet node
C. struct node *
D. char

单项选择题
请读程序: #include <stdio.h> #define SUB(X,Y) (X)*Y main() int a=3,b=4; printf( %d n ,SUB(a++,b++)); 上面程序的输出结果是( )。
A) 12
B) 15
C) 16
D) 20
相关试题
  • 若给fun函数的形参s传送字符串“∪∪635...
  • 下列程序的输出结果是______。 #in...
  • 设有定义: struct person int ID;cha...
  • 下列程序的输出结果是 int t(intx,inty...
  • 有以下程序: #include<stdio.h> mai...