Arguments when Calling a Function

Hi, I’m new to programming in ROOT (and C in general). I was wondering about the arguments in main functions. I’ve noticed that most main functions that I’ve seen begin with the arguments/parameters shown below. How exactly should the arguments be formatted when calling the function, and what do the arguments themselves mean/what are they asking for?

int main( int argc, char** argv )

ROOT Version: 6.22/06
Platform: Linux
Compiler: gcc

Hi Gabija,

you may want to check this answer on StackOverflow: c++ - What does int argc, char *argv[] mean? - Stack Overflow