Joined
Last Seen
0 Reputation Points
100% Quality Score
- Upvotes Received
- 2
- Posts with Upvotes
- 1
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
0 Endorsements
Ranked #44.2K
I am trying to create a C struct with a member that points to a 2d array. The compiler generates error messages, and I am unable to find out the root cause. I am basically trying to access a struct member to obtain the value of an element in a … |
|
I am trying to pass a pointer to a 3D array to a function in which I want to access an array element using pointer arithmetic. Define the array: const unsigned char TS_list_string[2][2][3] = { "abc", "def", "ghi", "jkl", }; Define the function void process_ts(const unsigned char *T1) { unsigned … |