--- kumaran subramanian <[EMAIL PROTECTED]>
wrote:
>
>
> Paul Herring <[EMAIL PROTECTED]> wrote:
>
> From: Vikram [mailto:[EMAIL PROTECTED]
>
> >1)Whats the diff between
> >// What it will do ?
> >-- for(;;);
>
> Not a lot for a very long time, (probably) using
> lots of CPU
>
> >// Next
> >-- func()
> >-- {
> >-- func();
> >-- }
> >
> >what kind of output we can get ?
>
> Not a lot for a very short time, using lots of
> memory. Then somthing
> similar to a core dump.
>
> >2)
> > main()
> >{
> > int x =5, y;
> > y = size(++x);
> > printf("X = %d", x);
> >}
> >Prints X = 5 only Why ?
>
> Answered elsewhere.
>
> I am getting an answer of 6 which is what is
> correct. I am using Microsoft Visual 6 Enterprise
> Edition.
>
>
> Regards,
>
> S. Kumaran.
It depends from coompiler to compiler.
Regards,
Ashwin Mittal.
__________________________________
Do you Yahoo!?
Yahoo! Mail - 250MB free storage. Do more. Manage less.
http://info.mail.yahoo.com/mail_250
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/EbFolB/TM
--------------------------------------------------------------------~->
To unsubscribe : [EMAIL PROTECTED]
Yahoo! Groups Links
<*> To reply to this message, go to:
http://groups.yahoo.com/group/Programmers-Town/post?act=reply&messageNum=4977
Please do not reply to this message via email. More information here:
http://help.yahoo.com/help/us/groups/messages/messages-23.html
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Programmers-Town/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/