Let me try putting it this way. If I accidently forgot to space one side of an assignment, would you call that a "different style"? Or am I imitating the teacher? I think you're focusing too hard on minute detail.
Let me try putting it this way. If I accidently forgot to space one side of an assignment, would you call that a "different style"? Or am I imitating the teacher? I think you're focusing too hard on minute detail.
But hang on a bit. The mix of & and * is because they have different meanings. The latter is used to pass an array of six elements - yes, we could declare the function differently to do that, but it's still not a replacement to use a reference [of course, we could have a reference to an array].
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.