Pass zero length array as null
Turns out zero length arrays are passed as a pointer to the non-existing element only when the array is passed by reference.
Showing
想要评论请 注册 或 登录
Turns out zero length arrays are passed as a pointer to the non-existing element only when the array is passed by reference.