How to parse string into argv/argc in C


how can I parse an URL address(a string) to the int main(int argc, char* argv[]) line from the command line?the only way I found is to write a new code to do so,but I’m sure there must be a way to do it from the termial.any help would be appreciated