题目内容

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));

If there is int a[3][4]; then a+1 represents the address of a[0][0] (column address)

答案查题题库