Questions tagged [argc]
The argc tag has no usage guidance.
1
question
0
votes
1answer
935 views
char* text = (argc == 3) ? argv[2] : argv[1];
Could someone explain me what the line in the title actually does?
Am I correct
if argc is 3
char* text is argv[2]
else
char* text is argv[1]
?
If so, how do the operators work in this ...