I'm just learning C and was wondering which one of these I should use in my main method. Is there any difference? Which one is more common?
If you'll need a varying or dynamic number of strings, char** might be easier to work with. If you're number of string is fixed though, char* var[] would be preferred.