题目内容

C language is made up of ( ).

A. main program and subprogram
B. main function and some subfunctions
C. One main function and one other function
D. main function and subprogram

查看答案
更多问题

There is the following function call statement: func(rec1,rec2+rec3,(rec4,rec5)); The number of actual parameters in the function call statement is ( )

A. 3
B. 4
C. 5
D. There are grammatical mistakes

malloc allocates a continuous space of size bytes in the dynamic memory area.

Functions such as calloc and free are declared in the stdio. h header file

If the pointer p is defined correctly (running on VC + +), to make p point to two successive integer dynamic storage units, the incorrect statement is ( )

A. p=2*(int *)malloc(sizeof(int));
B. p=(int *)malloc(2*sizeof(int));
C. p=(int *)malloc(2*4);
D. p=(int*)calloc(2, sizeof(int));

答案查题题库