<P>
>Once would have been enough.<BR>
<BR>
sorry but was by mistake.<BR>
<BR>
>As for the question, using the<BR>
>result of a call to foo() is undefined. This would be clear<BR>
> from reading any competent book or the Standard.<BR>
<BR>
this question was asked to me in an interview. i answered it as undefiened but the the person taking interview was not satisfied. also following is the output i get:<BR>
<BR>
[kalinga@mehul c]$ ./function<BR>
1108545272<BR>
[kalinga@mehul c]$ ./function<BR>
1108545272<BR>
[kalinga@mehul c]$ ./function<BR>
1108545272<BR>
[kalinga@mehul c]$ ./function<BR>
1108545272<BR>
[kalinga@mehul c]$ ./function<BR>
1108545272<BR>
[kalinga@mehul c]$<BR>
<BR>
any comments on this output?<BR>
<BR>
mehul.<BR>
</P>
<br><br>
<A target="_blank" HREF="http://clients.rediff.com/signature/track_sig.asp"><IMG SRC="http://ads.rediff.com/RealMedia/ads/adstream_nx.cgi/www.rediffmail.com/inbox.htm@Bottom" BORDER=0 VSPACE=0 HSPACE=0 HEIGHT=74 WIDTH=496></a>