题目内容

Which of the following is correct about the description of the data type is()

A. Shorter data types save more storage space
B. Try to use character variables when passing parameters
C. It is most efficient to use integer variables
D. Try to use a short data type in the loop to speed up execution

查看答案
更多问题

Which of the following is wrong about the description of the use of C language for “object-oriented programming”()

A. It can implement better program structure
B. It can effectively organize the display of Chinese characters
C. It can implement the function of some ‘class’
D. It is less efficient in menu design

Which of the following is wrong about the description of the struct()

A. In a struct, short members are defined first and long members are defined later
B. Struct members should be boundary aligned as much as possible
C. Array elements should be placed at the end of the struct
D. __packet keyword can improve the access speed of the struct

When using C language to simulate object-oriented features, the correct description is()

A. Its structure is exactly the same as the function of the class
B. Function pointers are used to implement attribute members of a class
C. Inheritance is implemented through struct inclusion
D. A structure can contain member functions

Which of the following is wrong about the description of the module()

A. The module division should conform to the principle of high cohesion and low coupling
B. In C language, the source file and the corresponding header file form a module
C. Global variables shared by several modules can be defined in the header files shared by these files
D. In the embedded system, each hardware device corresponds to a module

答案查题题库