Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

Access 2d array with pointer C

arr[i][j] = *(ptr + (i x no_of_cols + j))
Source by dyclassroom.com #
 
PREVIOUS NEXT
Tagged: #Access #array #pointer #C
ADD COMMENT
Topic
Name
1+7 =