I have the following line which sends the arguments args[] and length to a method called largest.
args[]
length
largest
printf(\"Largest is: %
You can't pass an array like that. You have to pass the pointer to the array (first item):
printf("Largest is: %d \n", largest(args, length));