【单选题】
设已定义数组int array[3][4]; 则对此数组正确的引用是 ___
A. array[1,2]
B. array [1][4]
C. array[1][1+2]
D. array(1)(3)
查看试卷,进入试卷练习
微信扫一扫,开始刷题

答案
C
解析
暂无解析
相关试题
【单选题】
判断字符串s1是否大于字符串s2, 则应当使用: ___
A. if(s1>s2)
B. if(strcmp(s1,s2))
C. if(strcmp(s1,s2)>0)
D. if(strcmp(s2,s1)>0)
【单选题】
下述对C语言字符数组的描述正确的是___
A. 任何一维数组的名称都是该数组存储单元的开始地址,且其每个元素按照顺序连续占用存储空间
B. 一维数组的元素在引用时其下标大小没有限制
C. 任何一个一维数组的元素,可以根据内存的情况按照其先后顺序以连续或非连续的方式占用存储
【单选题】
下述对C语言字符数组的描述中正确的是___
A. 任何一个一维数组的元素在引用时,其下标可以是整型、实型或字符型常量
B. 一维数组的元素实质上就是一个变量,代表内存中的一个存储单元
C. 如果要引用数组中的每一个元素,则直接使用该数组名称即可
D. 以上都不对
【单选题】
下列有关函数错误的描述是___
A. C语言中允许函数嵌套定义
B. C语言中允许函数递归调用
C. 调用函数时,实参与形参的个数、类型需完全一致
D. C语言函数的缺省数据类型是int类型
【单选题】
在C语言中,各个函数之间具有的关系是___
A. 不允许直接递归调用,也不允许间接递归调用
B. 允许直接递归调用,不允许间接递归调用
C. 不允许直接递归调用,允许间接递归调用
D. 允许直接递归调用,也允许间接递归调用
【单选题】
在C语言中,函数的返回值的类型是由___
A. C语言的编译程序,在程序编译时决定
B. 由调用该函数的主调函数所决定
C. 由return语句的表达式的类型所决定
D. 由定义该函数时指定的函数类型所决定
【单选题】
下列说法正确的是___
A. 一个函数的函数体必须要有变量定义和执行部分,二者缺一不可
B. 一个函数的函数体必须要有执行部分,可以没有变量定义
C. 一个函数的函数体可以没有变量定义和执行部分,函数可以是空函数
D. 以上都不对
【单选题】
下列说法正确的是___
A. main函数必须放在C程序的开头
B. main函数必须放在C程序的最后
C. main函数可以放在C程序的中间部分,即在一些函数之前在另一个函数之后,但在执行C程序时是从程序开头执行的
D. main函数可以放在C程序的中间部分,即在一些函数之前在另一些函数之后,但在执行C程序时是从main函数开始的
【单选题】
下列说法正确的是___
A. 在执行C程序时不是从 main函数开始的
B. C程序书写格式严格限制,一行内必须写一个语句
C. C程序书写格式自由,一个语句可以分写在多行上
D. C程序书写格式严格限制,一行内必须写一个语句,并要有行号
【单选题】
定义int*swap()指的是___
A. 一个返回整型值的函数swap()
B. 一个返回指向整型值指针的函数swap()
C. 一个指向函数swap()的指针,函数返回一个整型值
D. 以上说法均错
【单选题】
当定义了一个结构体变量后,系统分配给该变量分配的内存是___。
A. 结构体中各成员所需内存量的总和
B. 结构体中第一个成员所需的容量
C. 成员中占内存量最大者所需的容量
D. 结构体中最后一个成员所需内存量
【单选题】
以下对共用体类型数据的叙述正确的是___。
A. 可以对共有体变量名直接赋值
B. 一个共用体变量中可以同时存放其所有成员
C. 一个共有体变量中不能同时存放其所有成员
D. 共用体类型定义中不能出现结构体类型的成员
【单选题】
下面对typedef的叙述中不正确的是___。
A. 用typedef可以定义各种类型名,但不能用来定义变量
B. 用typedef可以增加新类型
C. 用typedef只是将已存在的类型用一个新的标识符来表示
D. 使用typedef有利于程序的通用和移植
【单选题】
当说明一个共用体变量时系统分配给它的内存是___。
A. 各成员所需内存量的总和。
B. 第一个成员所需内存量。
C. 成员中占内存量最大者所需的容量。
D. 最后一个成员所需内存量。
【单选题】
以下各选项企图说明一种新的类型名,其中正确的是___。
A. typedef int v1
B. typedef v2=int
C. typedef v3 int
D. typedef v4: int
【单选题】
则下面叙述中正确的是___。
A. PER 是结构体变量名
B. PER 是结构体类型名
C. typedef struct 是结构体类型
D. struct 是结构体类型名
【单选题】
下面说法中错误的是___。
A. 函数可以返回一个共用体变量
B. 在任一时刻,共用体变量的各成员只有一个有效
C. 共用体内的成员可以是结构变量,反之亦然
D. 共用体变量的地址和它各成员的地址都是同一地址
【单选题】
以下对枚举类型名的定义中正确的是___。
A. enum a {"sum","mon","tue"}
B. enum a={sum,mon,tue}
C. enum a={"sum","mon","tue"}
D. enum a {sum=9,mon=-1,tue}
推荐试题
【单选题】
The policy of the United States was at the beginning of the two world wars.
A. A. neutrality
B. B. full involvement
C. C. partial involvement
D. D. appeasement
【单选题】
Abraham Lincoln issued to grant freedom to all slaves.
A. A. Declaration of Independence
B. B. Constitution
C. C. Emancipation Proclamation
D. D. Bill of Rights
【单选题】
In May 1775, was held in Philadelphia and began to assume the functions of a national government.
A. A. the First Continental Congress
B. B. the Second Continental Congress
C. C. the Boston Tea Party
D. D. the Congress of Confederation
【单选题】
The first shots of the American dependence were fired in .
A. A. Concord
B. B. Lexington
C. C. Philadelphia
D. D. Boston
【单选题】
“No taxation without representation” was the rallying slogan of .
A. A. the settlers of Virginia
B. B. the people of Pennsylvania
C. C. the colonists in New England
D. D. the people of the 13 colonies
【单选题】
The Seven Years’ War occurred between the .
A. A. French and American Indians
B. B. French and Spaniards
C. C. French and British
D. D. British and American Indians
【单选题】
Pilgrim Fathers are a group of who came to America to avoid persecution in England.
A. A. Protestants
B. B. Puritans
C. C. Catholics
D. D. Christians
【单选题】
The first successful English colony in North America was founded at in .
A. A. Jamestown, Louisiana
B. B. Boston, Massachusetts
C. C. Jamestown, Virginia
D. D. Plymouth, Georgia
【单选题】
The characteristic of dominant American culture is .
A. A. English-speaking, northern European, Roman Catholic and middle-class
B. B. English-speaking, western European, Roman Catholic and upper-class
C. C. English-speaking, northern European, Protestant and upper-class
D. D. English-speaking, western European, Protestant and middle-class
【单选题】
The ImmiWar of Ingrants Act of 1924 restricted the further immigration into the United States, particularly from .
A. A. Europe
B. B. Asia
C. C. Africa
D. D. South America
【单选题】
The largest minority in the United States is the .
A. A. Pacific Islanders
B. B. Blacks
C. C. Native Americans
D. D. Asians
【单选题】
The native Alaskan population includes the following except the .
A. A. Indians
B. B. Eskimos
C. C. Aleuts
D. D. Blacks
【单选题】
is located on the U. S. –Canadian border between Lake Erie and Lake Ontario.
A. A. Yellowstone National Park
B. B. The Grand Canyon
C. C. Niagara Falls
D. D. The Great Salt Lake
【单选题】
Some of the world famous universities like Harvard, Yale and MIT are located .
A. A. in the South
B. B. along the Pacific Coast
C. C. in New England
D. D. in the Midwest
【单选题】
The largest river in the U. S. is .
A. A. the Missouri River
B. B. the Mississippi River
C. C. the Ohio River
D. D. the Colorado River
【单选题】
The U. S. lies in North America, with Canada to the north, Mexico to the south, the Atlantic to its and the Pacific to its .
A. A. northern, east, west
B. B. central, east, west
C. C. southern, west, east
D. D. western, east, west
【单选题】
The state of is the largest in area of all the states.
A. A. Alaska
B. B. Hawaii
C. C. Texas
D. D. Florid
【单选题】
Waiting for Godot is written by .
A. A. Samuel Beckett
B. B. George Orwell
C. C. William Golding
D. D. D. H. Lawrence
【单选题】
Of the following writers, is NOT a Nobel Prize winner.
A. A. Samuel Beckett
B. B. James Joyce
C. C. William Golding
D. D. V. S. Naipaul
【单选题】
Of the following statements, is NOT correct about Virginia Woolf.
A. A. She was a central figure of the “Bloomsbury Group”.
B. B. She experimented with stream of consciousness.
C. C. She was an influential feminist.
D. D. Her masterpiece was The Rainbow.
【单选题】
Of the following books, was NOT written by Thomas Hardy.
A. A. Jude the Obscure
B. B. Tess of the D’Urbervilles
C. C. Adam Bede
D. D. The Return of the Native
【单选题】
is NOT included in the modernist group.
A. A. Oscar Wild
B. B. Virginia Woolf
C. C. William Butler Yeats
D. D. T. S. Eliot
【单选题】
Of the following statements, is NOT correct in terms of Neo-Romanticism.
A. A. It prevailed at the end of the 19th century.
B. B. The writers were dissatisfied with the social reality.
C. C. The writers believed in “Art for Art’s Sake”.
D. D. Treasure Island was a representative work.
【单选题】
is a representative of English Critical Realism at the turn of the 19th century.
A. A. Robert Louis Stevenson
B. B. John Milton
C. Joseph Conrad
D. D. Thomas Hardy
【单选题】
Of Dickens’ novels, is considered autobiographical.
A. A. A Tale of Two Cities
B. B. David Copperfield
C. C. Oliver Twist
D. D. Great Expectations
【单选题】
is viewed as Romantic poetry’s “Declaration of Independence.”
A. A. “I Wondered Lonely as a Cloud”
B. B. Don Juan
C. C. “Preface to Lyrical Ballads”
D. D. Prometheus Unbound
【单选题】
The most significant achievement of the English Renaissance is .
A. A. poetry
B. B. drama
C. C. novel
D. D. pamphlet
【单选题】
The following Christmas traditions are particularly British except .
A. A. Trooping the Color
B. B. Queen’s Christmas message
C. C. Boxing Day
D. D. Christmas pantomime
【单选题】
Of the following, is NOT a common feature of all the British holidays.
A. A. families getting together
B. B. friends exchanging good wishes
C. C. friends enjoying each other’s company
D. D. families traveling overseas
【单选题】
Life on Earth is a kind of program produced by the BBC and is popular among 500 million viewers worldwide.
A. A. feature
B. B. drama
C. C. documentary
D. D. soap opera
【单选题】
Among Britain’s quality press, the following newspapers are regarded as the “Big Three” with the exception of .
A. A. The Times
B. B. The Guardian
C. C. The Observer
D. D. The Daily Telegraph
【单选题】
To be admitted to the Open University, one need .
A. A. some educational qualifications
B. B. no educational qualifications
C. C. General Certificate of Education-Advanced
D. D. General National Vocational Qualifications
【单选题】
Of the following, is NOT a basis of admission to Britain’s universities.
A. A. result in national entrance test
B. B. A-level result
C. C. an interview
D. D. school references
【单选题】
Partially funded by central government grants, the British univPartially funded by central government grants, the British universities receive their remaining funds from all the following sources except .
A. A. tuition fees
B. B. loans
C. C. donations
D. D. corporate contributions
【单选题】
About of British children receive primary and secondary education through the independent system.
A. A. 5%
B. B. 6%
C. C. 7%
D. D. 8%
【单选题】
In Britain, the division between grammar schools and vocational schools were ended by the introduction of comprehensive schools in the .
A. A. 1930s
B. B. 1940s
C. C. 1950s
D. D. 1960s
【单选题】
马克思主义理论从狭义上说是___
A. 无产阶级争取自身解放和整个人类解放的学说体系
B. 关于无产阶级斗争的性质、目的和解放条件的学说
C. 马克思和恩格斯创立的基本理论、基本观点和基本方法构成的科学体系
D. 关于资本主义转化为社会主义以及社会主义和共产主义发展的普遍规律的学说
【单选题】
马克思主义理论从广义上说是___
A. 不仅指马克思恩格斯创立的基本理论、基本观点和学说的体系,也包括继承者对它的发展。
B. 无产阶级争取自身解放和整个人类解放的学说体系
C. 关于无产阶级斗争的性质、目的和解放条件的学说
D. 马克思和恩格斯创立的基本理论、基本观点和基本方法构成的科学体系