I have the following snippet of code:
int main(int argc, char *argv[])
{
char line[MAXLINE];
long lineno = 0;
int c, except = 0, number =
The parentheses change the order in which the expressions are evaluated.
Without parentheses *++argv[0]:
argv[0] gets the pointer to character data currently pointed to by argv.++ increments that pointer to the next character in the character array.* gets the character.with parentheses (*++argv)[0]:
++argv increments the argv pointer to point to the next argument.* defereferences it to obtain a pointer to the character data.[0] gets the first character in the character array.