I have the following line which sends the arguments args[] and length to a method called largest.
printf("Largest is: %d \n", largest(args[], length));
When i try to run this i get the following error:
error: expected expression before ']' token
because you need to place an integer between the operator square brakets, or otherwise don’t specify the square brackets :
or
Keep in mind that
args[0]is the same as*(args + 0)butargs[]will give an error because it needs a number to sum …