Look at this code...
printf("\n%d %d %d %d\n"arr);
I understand that C prints all its arguements from right to left and when I say arr i refer to a (first element) But the result i found was...
-18 10 20 30 40
Now, what is that -18 doing up there. If I remove a %d from the formatting list, then the last element 40 would be truncated and the result would be
-18 10 20 30
Can ny one explain this phenominan.