On Sat, Sep 27, 2008 at 2:55 AM, radha krishnan
<[EMAIL PROTECTED]> wrote:
> hello guys ,
>        following c pgm ,give the answer with explanation.i canot find the 
> answer for this question
>         i)void main()
>          {
>            int x=1;
>           int y;
>            y=++x+++x+++x;
>           printf("%d",y);
>         }
>       ii) void main()
>            {
>               int x=1;
>              inty=++x+++x+++x;
>                printf("%d", y);
>             }
>           Give me the answer in detail.and also explain its computation 
> manner.
>            thank u,
>                        radhakrishnan.

The answer, obviously, is 42.

-- Brett
------------------------------------------------------------
"In the rhythm of music a secret is hidden;
    If I were to divulge it, it would overturn the world."
               -- Jelaleddin Rumi

Reply via email to