How do we access elements from the two-dimensional array in C#?
Answers
Answered by
0
Answer:-Now to access the element just add the offset in array base address and dereference it. Note: Array index always start with 0, so 2nd means third element. Get the element => *( (int *)aiData + offset ); See: Pointer arithmatic in C.
Similar questions
English,
6 months ago
Political Science,
6 months ago
English,
6 months ago
Computer Science,
1 year ago
English,
1 year ago