I have an array of char arrays in C (not C++). The type is char**. I know it’s length, but the lengths of the elements are unknown.
and I have another char* array.
Need to append this char* to my char**, as the last element.
I have an array of char arrays in C (not C++). The type is
Share
each element of the above array is a pointer to character array.
let us say, arr1 has n elements(each a string). Then,