#What does int(*)[] mean? Confused

8 messages · Page 1 of 1 (latest)

charred frigate
#

I was going through learncpp.com and came across this. They say it is the type of &array if array was an array of integers. So is int(*)[] the type of a pointer to an array?

reef spadeBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For more information use !howto ask.

cinder fog
#

It'll be int(*)[N]

#

so a pointer to an array of N elements

#

We have resources in #archived-resources for how to read C declarations

charred frigate
#

!solved

reef spadeBOT
#

[SOLVED] What does int(*)[] mean? Confused

reef spadeBOT
#

What does int(*)[] mean? Confused