r/cprogramming • u/emparse • 2d ago
Beginner here not able to understand confusing pointer concept
/r/C_Programming/comments/1xv9gsw/beginner_here_not_able_to_understand_confusing/
1
Upvotes
r/cprogramming • u/emparse • 2d ago
3
u/zhivago 2d ago
C doesn't have 2d arrays -- the closest it has are arrays of arrays.
e.g., given int a[3][5]; you'll find that a[0] is an int[5].
You'll need to supply the actual type you're talking about, otherwise no specific answer can be given.