C语言 int()的括号里还带有指针是什么意思int numberparse(const char *preprocessed,int **original);/* If preprocessed corresponds exactly to a preprocessed number * it allocates just enough memory to hold the original number as an ar
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/19 17:42:58
C语言 int()的括号里还带有指针是什么意思int numberparse(const char *preprocessed,int **original);/* If preprocessed corresponds exactly to a preprocessed number * it allocates just enough memory to hold the original number as an ar
C语言 int()的括号里还带有指针是什么意思
int numberparse(const char *preprocessed,int **original);
/* If preprocessed corresponds exactly to a preprocessed number * it allocates just enough memory to hold the original number as an array of ints * undoes the preprocessing,stores it in the newly allocated memory pointed to * by *original,and returns the size of the array (in ints).* In all other cases,no memory is allocated and numberparse returns 0.*/
请问int后面的括号里的是什么意思.为什么是const char,还有双指针.
C语言 int()的括号里还带有指针是什么意思int numberparse(const char *preprocessed,int **original);/* If preprocessed corresponds exactly to a preprocessed number * it allocates just enough memory to hold the original number as an ar
就是调用函数是传入的参数,const char* 表示常量字符串,比如“hello world”,双指针表示指针的指针,可以用来在调用函数中开辟空间