0
How Cli Apps are made using C programming language ?
How text are colored and ui is made ?
1 Answer
+ 6
The command line arguments get passed into main through the main function parameters argc and *argv.
int main(int argc, char *argv[])
argv[0] will be the executable name
argv[1] ... argv[argc - 1] will be command line elements.