作者judyfox123 (餈饕餮)
看板TTU-I93A
标题致茂电子 软体工程师 考卷
时间Tue Jul 27 17:29:35 2010
1. C程式中 define / ifndef / endif 有何作用?
2. #include <filename.h> , #include "filename.h" 有何差别?
3. int n=10;
printf("N1=%d \n",n++);
printf("N2=%d \n",++n);
4. flaot S[2];
*(S+1) = 111.1
*S = *(S+1)
printf("%f \n", S[0]);
5. float f = 1234.56;
float *f1 = &f;
float **f2 = &f1;
printf("%f \n",**f2);
6. typedef struct{
char *S1;
char *S2; } SS;
SS s, *ps;
s.S1 = "1234";
ps = &S;
(*ps).S1= *ps->S1= s.S1= *(ps->S1+3)=
7. C 写 两字串合并 回传 字串
8. C++的 copy constructor 是啥? 甚麽情形被呼叫?
9. C++ encapsulation , polymorphism , inheritance , function overloading 简述
10. RS-232C, RS-485, GPIB 是啥?? 如何与一台PC连接?
11. unipolar mode下 12 bit DAC, reference voltage:4V resolution多少?
DAC:3V -> 数位值?
12. micro-controller 中断服务 interrupt? vector table?
13. introduction, general-purpose, state-of-the-art 回圈 参数 架构
14. C++的class 与 C的 strcut 有啥差别?
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 114.44.68.10
1F:推 superlong50:惨了 不会 07/27 18:25
2F:→ judyfox123:我也是... 07/27 18:31
3F:推 BRN:第二题可以回答说 一个是c的标头档 一个是自己写的...orz好烂 07/27 22:29
4F:推 shimi:不是C++ VS C 的语法差异吗~ 08/01 18:20
5F:推 BRN:是这样吗XDDD 08/02 18:03
6F:推 answer012103:应该是BRN大大讲的那样吧 08/02 21:11