M
Manju
int x=2;
int y;
y=x++*++x;
For this output is 8
I would like to know how this internally works
int y;
y=x++*++x;
For this output is 8
I would like to know how this internally works
Manju said:int x=2;
int y;
y=x++*++x;
For this output is 8
I would like to know how this internally works
int x=2;
int y;
y=x++*++x;For this output is 8
I would like to know how this internally works
y = 2 [3] * [4] 4;
y = 2*4 = 8;
in [] is value after incrementation to show how this goes.
Manju said:hii
thanks for reply.
...I perfectly agree with u but when I think about
memory allocation of this expression I am not able to analyze it.
Could u explain that??
Andrew said:A couple of points to consider..
3) ... See Lew's reply ...
Andrew said:3) A lot of folks prefer if you 'post in-line with trimming'
rather than top-post replies. See Lew's reply for an
hii
thanks for reply. I perfectly agree with u but when I think about
memory allocation of this expression I am not able to analyze it.
Could u explain that??
Best Regards
Manjiri (Manju)
y = 2 [3] * [4] 4;int x=2;
int y;
y=x++*++x;
For this output is 8
I would like to know how this internally works
y = 2*4 = 8;
in [] is value after incrementation to show how this goes.
LewyG said:A: Because this breaks natural reading order
Q: Why?
A: Answering over the post.
Q: What makes people angry while reading Usenet?
;-)
y = 2 [3] * [4] 4;y = 2*4 = 8;in [] is value after incrementation to show how this goes.
hii
thanks for reply. I perfectly agree with u but when I think about
memory allocation of this expression I am not able to analyze it.
Could u explain that??
Best Regards
Manjiri (Manju)
hii
thanks for reply. I perfectly agree with u but when I think about
memory allocation of this expression I am not able to analyze it.
Could u explain that??
Best Regards
Manjiri (Manju)
y = 2 [3] * [4] 4;y = 2*4 = 8;in [] is value after incrementation to show how this goes.
y=x++*++x;
For this output is 8
I would like to know how this internally works
Andrew Thompson said:5) A subject line of 'I have doubt' is a very poor subject
line as read by this (western) mind.
I once heard explained that this is indeed a common mistranslation
of "I have a question".
Andrew said:It is my problem, I know, and I'm dealing with it.
...In a very public, ..archived way. ;-)
Lew said:I have a doubt that that will worry you for very long.
I's say that is a good bet.
I aim to correct it wherever I see it. There
are particular mangling's of the English
language that I will overlook, and still others
that I do myself, but *that* is not one that I
can let pass without comment..
It is my problem, I know, and I'm dealing with it.
..In a very public, ..archived way. ;-)
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.