Re: Re: ++ BUG?? (fwd)
| From: | Joey Smith | Date: | Mon, 27 Nov 2000 22:50:55 +0000 |
| Subject: | Re: Re: ++ BUG?? (fwd) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-39329@lists.php.net to get a copy of this message | ||
On Mon, 27 Nov 2000, Zeev Suraski wrote the following to Ignacio...:
> As a small proof of concept, what do you think the result of the following
> file would be:
>
> void quiz(int foo, int bar)
> {
> printf("%d", foo+bar);
> }
>
> void main()
> {
> int i=0;
>
> quiz(i++, i++);
> }
>
> Zeev
>
>
>
> Hint: If you came up with any numerical answer, you're wrong.
"Would be", or "is"? I get 1.