C语言常用笔试题
1.在X86系统中,如下变量在内存中的字节存放顺序。
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 ?
版权声明:此文自动收集于网络,若有来源错误或者侵犯您的合法权益,您可通过邮箱与我们取得联系,我们将及时进行处理。
本文地址:https://www.gunzhua.com/jiuye/bishi/32222.html