gpt4 book ai didi

c - 什么是 char (*arrs)[rowSize] = malloc(bytesPerTable);

转载 作者:行者123 更新时间:2023-12-02 08:46:36 25 4
gpt4 key购买 nike

在另一个问题的回答中看到这个:

char (*arrs)[rowSize] = malloc(bytesPerTable);

什么是 arr?/为什么有括号/这个声明的描述是什么?

最佳答案

What is arrs ? what is the description of this declaration?

它是指向 rowSize char 数组的指针,与指向 char 的指针有很大不同。

why are there parentheses

因为没有它们,它将是指向 char 的指针数组。

关于c - 什么是 char (*arrs)[rowSize] = malloc(bytesPerTable);,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12005295/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com