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)
If there is int a[3][4]; then a[0]+3 represents the address of a[0][3]