C语言常用笔试题.docx
C语言常用笔试题 DWORD Value1=0x8010011c UINT Value2=12801 2.ASCII和Unicode有什么区分?汉字是如何显示的? 3.说出你最熟识的”三种排序方法,用你最熟识的语言写出其中一种。 4.Bool flag Floot x 与“零值”比拟 Char *p 5.是否了解MVC模式,其中M、V、C各表示什么? 6.列举出你曾经用过或者了解的几种设计模式? 7.int iVal1 = 0, iVal2 = 0; int * ipVal; ipVal = iVal1; What is the Value of ipVal = *ipVal = ipVal = (int*)iVal1; What is the Value of ipVal = *ipVal = iVal2 = (int)iVal1; What is the Value of ipVal = *ipVal = 8.void SwapAB(int A, int B) A=B; B=A; int main() int A,B; A=1; B=2; SwapAB(A,B); return 0; / A= ?, B= ? What is the value of A and B ? What is the difference between STRUCTURE and OBJECT ORIENTED PROGRAMMING ? What is the difference between C and C+ ? What is an interpreter ? 【C语言常用笔试题】