回複:don't understand?

回答: one more commentclowhand2004-06-29 20:53:17

yes, I tested the original poster's program using gcc version 3.2.2 on linux and got 'a++=11 ++a=11', which indicates the arguments were passed using the C-style convention.I suspect you tested on Windows?

While the problem is useful to help students to learn the language, the lesson is really avoiding programming like this, as stated by redpepper downstairs.
請您先登陸,再發跟帖!