SRC\file.c:178: warning: [#1143-D] arithmetic on pointer to void or function type Reasons:
Example 1: int i[2]; void * pv; pv = &i; int b = pv[1]; /* Here you will get error */ pi = (int *)pv; /* This is a solution*/ int b = pi[1];
0 Comments
Your comment will be posted after it is approved.
Leave a Reply. |
AuthorWarnings are important! Archives
May 2017
Categories |