作业帮 > 综合 > 作业

C语言 int()的括号里还带有指针是什么意思

来源:学生作业帮 编辑:搜狗做题网作业帮 分类:综合作业 时间:2024/08/07 21:39:10
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()的括号里还带有指针是什么意思
就是调用函数是传入的参数,const char* 表示常量字符串,比如“hello world”,双指针表示指针的指针,可以用来在调用函数中开辟空间