0 votes
by (120 points)
How do you point a pointer to an array?

1 Answer

0 votes
by (1.3k points)
C++ does not allow to pass an entire array as an argument to a function. However, You can pass a pointer to an array by specifying the array's name without an index.

Related questions

0 votes
1 answer
0 votes
1 answer
asked Jul 14, 2021 by pointers (160 points)
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked May 26, 2021 by arraysize (120 points)
0 votes
1 answer
0 votes
1 answer
asked May 23, 2021 by program (420 points)
0 votes
1 answer
0 votes
1 answer
asked May 21, 2021 by program (420 points)
...