E******T 发帖数: 59 | 1 float **x;
x = (float **)malloc(k*sizeof(float *)); /* Make space for the data */
in this example, sizeof(float *) and sizeof(float) has any difference? the
denotation * means a pointer?
Thanks |
|
t****t 发帖数: 6806 | 2 yes, * means pointer... so you have totally no idea about C. better grab an
introductory book and read a bit. |
|
M**u 发帖数: 10158 | 3 这个tough个啥啊
sizeof (float *) 要存一个指针大小
sizeof (float)要存一个float大小 |
|