In func(B), you are just passing address of the pointer which is pointing to array B. You can do change in func() as B[i] or *(B + i). Where i is the index of ... ... <看更多>
andrewrk commented on May 25, 2017 ... I think this is fine, you just have to do this: - bytes[0] = 'a'; - bytes[1] = 'b'; - bytes[2] = 'c'; - bytes[3] = 'd'; + ... ... <看更多>