作者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