更新时间:2018-11-22 16:16作者:王华老师
德尔福是全球领先的乘用车、商用车及其它细分市场的电子与技术供应商,在全球32个国家设有技术中心、生产基地和客户服务中心。德尔福致力于为现实世界进行创新,使产品更智能、更安全、更强大、更高效。
下面来分享下德尔福每年招聘所考的笔试题目:
1.How do you code an infinite loop in C?
2. Volatile:
a) What does the keyword volatile mean? Give an example
b) Can a parameter be both const and volatile? Give an example
c) Can a pointer be volatile? Give an example
3. What are the values of a, b, and c after the following instructions:
int a=5, b=7, c;
c = a+++b;
4, What do the following declarations mean?
a) const int a;
b) int const a;
c) const int *a;
d) int * const a;
e) int const * a const;
5. Which of the following statements describe the use of the keyword static?
a) Within the body of a function: A static variable maintains its value between function revocations
b) Within a module: A static variable is accessible by all functions within that module