radha krishnan 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.

#2 won't compile.  Don't do either one.  Ever.

-- 
Thomas Hruska
CubicleSoft President
Ph: 517-803-4197

*NEW* MyTaskFocus 1.1
Get on task.  Stay on task.

http://www.CubicleSoft.com/MyTaskFocus/

Reply via email to