You are are passing a pointer (*
) looking like this:
*
`-> aaaa...aaaabbbb...bbbbcccc...cccc
It points to memory containing several char[100]
arrays.
The function expects an argument looking like this:
*
`->***
||`-> cccc...cccc
|`-> bbbb...bbbb
`-> aaaa...aaaa
It wants a pointer pointing to memory containing several char*
.
The two types are different and cannot be automatically converted.