🎴 Flashcard Mode

Oracle SQL Functions Quiz

Card1 / 20
Mastered0
Review0
QuestionClick to flip

In the following declaration of main, "int main(int argc, char *argv[])", to what does argv[0] usually correspond?

AnswerClick to flip back
A
The program name
💡 Explanation:

In C and C++, the argv array contains command-line arguments, where argv[0] is conventionally the path or name of the program being executed. Subsequent indices hold the actual arguments passed.

Change Mode