names returns the vector of strings; some thing like following:
char names[][] = {
"hello",
"world"
"ss"};
So names has different length along columns.
@ivanpribec
I can understand your code. I am sorry, but it is not related to what I have asked.
Regards
Vikas