题目内容

The correct description about the following program is[ ]#include
int pPointer;
int nNumber;
void f(){
nNumber = 25;
pPointer = &nNumber;
}
int main(){
f();
printf(“ValuThe correct description about the following program is[ ]#include
int pPointer;
int nNumber;
void f(){
nNumber = 25;
pPointer = &nNumber;
}
int main(){
f();
printf(“Valu

A. the types of pointers do not match
B. there are memory leaks
C. there is “hanging-up” pointer
D. no problem

查看答案
更多问题

When are the bulk of a product’s life cycle costs normally determined()

At the design/development stage
B. When the product is introduced to the market
C. When the product is in its growth stage
D. On disposal

Indicate which of the following methods can be used to move a currently-attainable cost closer to target cost()

A. Using standard components wherever possible
B. Acquiring new, more efficient technology
C. Making staff redundan
D. Reducing the quality of the product in question

A support produces()in a particular direction on its attached member if it prevents()of the member in that direction, and it produces()on the member if it prevents()

A. an external force, translation, an external couple moment, rotation
B. an internal force, translation, an internal couple moment, rotation
C. an internal force, movement, a couple moment, translation
D. an external force, translation, an internal couple moment, translation

The correct one about pointers is: [ ]We assume that all codes are compiled on 32-bit platform()

A. struct T{ double d; } p; where p occupies 4 bytes memory;
B. char p; where p occupies 1 byte memory
C. struct S{ charm;} n; where n occupies 1 byte memory;
D. double p; where p occupies 8 byte memory;

答案查题题库