| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 369 人关注过本帖
标题:几道面试题,谁能帮我做下?需要英文好点的哦
只看楼主 加入收藏
bustle
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2011-4-9
收藏
 问题点数:0 回复次数:1 
几道面试题,谁能帮我做下?需要英文好点的哦
Which of the following statements are true respecting break and continue statements?

A) The break terminates the loop.
B) The continue terminates the loop.
C) The break branches immediately to the test portion of the loop.
D) The continue branches immediately to the test portion of the loop.

Which of the following statements are true respecting variable definitions and variable declarations?

A) A definition tells the compiler to set aside storage for the variable.
B) A declaration tells the compiler to set aside storage for the variable.
C) A declaration makes the variable known to parts of the program that may wish to use it.
D) A definition makes the variable known to parts of the program that may wish to use it.
E) A variable might be defined and declared in the same statement.

Which of the following statements are true with respect to structures and unions?

A) A union is an aggregate data type.
B) A structure combines two or more data types in the same area of storage.
C) A union combines one or more base or aggregate data types into a package that may treated as a whole.
D) The contents of a structure may be one data type at one time and another type at a different time.
E) All of the above
F) None of the above

 Which of the following statements are true with respect to the & and && operators and the | and || operators?

A) & and | are logical AND and OR operators respectively.
B) && and || are bitwise AND and OR operators respectively.
C) & and | are bitwise OR and AND operators respectively.
D) && and || are logical OR and AND operators respectively.
E) All of the Above
F) None of the above

 Select all possible ways (if any) the “next” variable can be incremented?

A) next = next + 1;
B) next++;
C) next += 1;
D) All of the above
E) None of the above

 Which of the following statements are true respecting looping statements? (for, while and do while)

A) When the test is at the bottom, the body of the loop may never be executed.
B) When the test is at the bottom, the body of the loop will always be executed at least once.
C) When the test is at the bottom, the body of the loop will always be executed more than once.
D) When the test is at the top, the body of the loop may never be executed.
E) When the test is at the top, the body of the loop will always be executed at least once.
F) When the test is at the top, the body of the loop will always be executed more than once.



Which of the following statements are true with respect to the -> and . operators?

A) The -> operator provides access to members of a structure or union.
B) The . operator provides access to members of a structure or union.
C) The . operator is used when the variable is a pointer to a structure or union.
D) The -> operator is used when the variable is a pointer to a structure or union.
E) The -> operator is used when the variable is itself the structure or union.
F) The . operator combines the pointer dereferencing operator with the member access operator.


Is C case sensitive (i.e. Does C differentiate between upper and lower case letters)?

A) Always
B) Never
C) Sometimes


 Select one or more of the following variable type(s) that may be validly returned from a function.

A) Character
B) Integer
C) Floating Point
D) Union
E) Structure
F) Function
G) Character Pointer
H) Integer Pointer
I) Floating Point Pointer
J) Union Pointer
K) Structure Pointer
L) Function Pointer


 Which of the following statements are true with respect to lvalues and rvalues?

A) The lvalue refers to the left-hand side of an assignment expression.
B) The rvalue refers to the left-hand side of an assignment expression.
C) The lvalue represents the right-hand side of an assignment expression.
D) The rvalue represents the right-hand side of an assignment expression.
E) The lvalue must always evaluate to a memory location.
F) The rvalue must always evaluate to a memory location.
G) The lvalue may have any meaningful combination of variables and constants.
H) The rvalue may have any meaningful combination of variables and constants.


搜索更多相关主题的帖子: 英文 test 
2011-04-09 11:29
hnuhsg1226
Rank: 9Rank: 9Rank: 9
来 自:中国
等 级:蜘蛛侠
威 望:2
帖 子:314
专家分:1314
注 册:2011-3-27
收藏
得分:0 
不需要英文好,有点常识的人都看的懂,都是C里面的,除了最后一题是讲左值和右值的区别。
呵呵,看了这贴,又让我温习了下基础

我的地盘
2011-04-09 11:37
快速回复:几道面试题,谁能帮我做下?需要英文好点的哦
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.017220 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved