单项选择题

若有以下结构体定义,则是正确的引用或定义。struct example{ int x; int y;}v1;

A.examplx=10
B.examplev2.x=10
C.struct v2;v2.x=10
D.struct example v2={10};
<上一题 目录 下一题>
热门 试题

单项选择题
设有以下语句: char str1 []= string mstr2 [8],*str3,*str4== string ; 则 ______不是对库函数的正确调用。
A.strcpy(str1,"HELLO1");
B.strcpy(str2,"HELLO2");
C.strcpy(str3,"HELLO3");
D.strcpy(str 4,"HELLO4");
单项选择题
出下列程序执行后的输出结果是 ______。mare(){int m[][3]={1,4,7,2,5,8,3,6,9}; int i,k=2; for(i]0;i<3;i++) {printf(( %d ,m[k][i]);}}
A.456
B.258
C.369
D.789
相关试题
  • 已知小写字母a的ASCII码为97,大写字母A...
  • 对于n个结点的单向链表(无表头结点),需...
  • 以下程序的输出结果是 ______。#in...
  • 下述程序向文件输出的结果是 ______...
  • 请读程序:#include<stdio.h>#include...