c语言英语笔试题,C语言面试题(国外英语资料).doc

这是一份关于C语言面试的题目集,涵盖了链表与数组的区别、排序算法的选择与实现、字符串函数的直接实现、内存分配、查找链接、洗牌算法、字符判断、全排列、内存拷贝等核心概念。这些问题旨在考察C语言的基础知识和实际编程能力,对于准备C语言面试的求职者具有很高的参考价值。
摘要由CSDN通过智能技术生成

C语言面试题(国外英语资料)

C语言面试题(国外英语资料)

Interview questions

What is the difference between the 1. linked list and the array?

2. to prepare a list sorting algorithm. Explain why you would choose to use this method

3. write an array sorting algorithm. Explain why you would choose to use this method

4. write code that directly implements the function of the strstr () function.

5. write reverse string program, requiring speed optimization, optimization of space.

6. how do I find the link in the list?

7. gives an algorithm for shuffling and stores the cards in a plastic array.

8. write a function to check if the character is an integer, and if so, return its integer value. (or: how can you write a function from strings to long lines with only 4 lines of code?)

9. gives a function to output all the permutations of a string.

10. please write the implementation of malloc () memory allocation function, the same code.

11. gives a function to copy two strings, A and B. The last few bytes of the string A overlap the first few bytes of the string B.

12. how to write a program that puts an ordered integer array into a two fork tree?

13. how to print two tree node data at the top layer by layer? Please programming.

14., how to drop a list of orders (that is, reverse order, pay attention to the boundary conditions of the list and consider the empty list)?

In addition:

First, the individual choice questions: (12 questions, 2 points per subject, 24 points)

1. which of the following is not the standard data type of C++? (D)

A. int B. char

C. bool D. real

In which grammar structure can the 2. break keyword not be used? (C)

A. for statement B. switch statement

C. if statement D. while statement

How many kinds of inheritance are there in the 3. kind? (B)

A. two kinds of B., three kinds

C. four kinds of D., six kinds

What is the role of the 4. extern keyword? (D)

A. declares external links, and B. declares external header references

The C. declaration uses the extended C++ statement D. to declare external member

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值