C語言常用筆試題

才智咖 人氣:1.86W

1.在X86系統中,如下變數在記憶體中的位元組存放順序。

C語言常用筆試題

DWORD Value1=0x8010011c

UINT Value2=12801

I和Unicode有什麼區別?漢字是如何顯示的?

3.說出你最熟悉的'三種排序方法,用你最熟悉的語言寫出其中一種。

flag

Floot x 與“零值”比較

Char *p

5.是否瞭解MVC模式,其中M、V、C各表示什麼?

6.列舉出你曾經用過或者瞭解的幾種設計模式?

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 =

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 ?

TAGS:筆試 語言