网站大量收购闲置独家精品文档,联系QQ:2885784924

程序员面试题目.doc

  1. 1、本文档共8页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
程序员面试题目

Please note: The questions with asterisk (*) can not be empty. Describe general experience with: 1. LANs, WAN. 2. Unix, Windows 3. Programming Languages. 4. Device Driver General questions: 1. Describe an experience you feel proud of in programming, such as creatively resolving a programming (coding, algorithms, structure or others)problem you encountered in the past. 2. Whats your biggest project? What a role did you played in it? 3. Whats difference between dealing with an English string and a Chinese String? 4. Do you know about GB code, Big5 code, Unicode? Would you please give me your understanding of their relationship and difference? 5. Now I have an English application and its source code, such as a word processor. What would you do to make it work correctly in Chinese environment? 6. If youre free to choose a job, what would you like to do: marketing, tester engineer, software programmer, project manager, or other? And why? Will you accept a different assignment other than the job you like, such as tester engineer position? C QUESTIONS: 1.* Explain the difference between call by value and call by reference in a programming language. How do these apply to the C language? call by value : 调用时子程序得到的是参数值的副本,子程序中对形参的改变其实只是影响了该副本的值,但在返回主程序后该副本会被丢弃,因此在主程序中按值调用的参数仍保持原来的值。 call by reference : 调用时子程序得到的是实际参数的内存地址,因此在子程序中改变形参的值时,实际会导致对该形参所对应的地址处的内存数据的变化,即直接修改的是主程序中的变量的值,返回主程序后该参数所对应的变量值会产生变化。 2. Explain how C pointers work. What are they really? How can they be used? What are the most useful/vital ways to use them? 变量的地址称为变量的指针,即指针是一个内存单元的地址。 指针的基本形态有以下几种: (1)int *p; //p为指向整型数据的指针变量 (2)int *p[n]; //定义指针数组p (3)int *p(); //p为指针函数,返回一个指向整型数据的指针 (4)int (*p)(); //p为指向函数的指针,该函数返回一个整型值 (5)int (*p)[n] //p为指向含有n个元素的一维数组的指针变量 (6)int **p; //p为指向指针的指针,被指向的指针指向一个整型数据 (7)int(**p)[n] //p是一个指向另一个指针变量的指针变量,被指向的指针变量指向一个含有n个整型数据的一维数组 (8)int *p()[n] //p为返回整型指针数组(首地址)的函数 (9)int (*p[])() //p为指向返回整型数值函数的指针数组 指针的使用: 指针和数组 对于数组a[i]表示

文档评论(0)

dajuhyy + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档