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.
To unsubscribe : [EMAIL PROTECTED]
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
To unsubscribe : [EMAIL PROTECTED]
| Yahoo! Groups Sponsor | |
|
|
Yahoo! Groups Links
- To reply to this message, go to:
http://groups.yahoo.com/group/Programmers-Town/post?act=reply&messageNum=4960
Please do not reply to this message via email. (more info)
- 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 the Yahoo! Terms of Service.
