AWS.ECommerceService.NoExactMatches: We did not find any matches for your request.
Author: DASARI TUTS
perl -e “$a = 10; $b = ++$a + ++$a + ++$a; print $b”
The result is actually _undefined._ You should never modify a variable multiple times in the same expression like that. If your compiler doesn’t show a warning I suggest you turn up the warning level. If you’re using GCC, MinGW or Clang you should at least use the -Wall compiler flag.
but when am compiling it over c it’s giving 37 in java 36 can you please explain, I know it’s compiler dependent, but tell me only for c. please reply
perfect stuff learned a lot bro thanks
i am also getting 37
i am getting 37 in my C compiler for the same code , plzz help me . i will mail the screen shot output if u want
j = ++i*++i*++i;
Output is 6 150
Explanation of answer 37
here it is using grouping method
a increase by 2 and reach at 12 then it will perform addition. After that it will reach at 13 and finally 24+13=37
i just compiled in https://ide.geeksforgeeks.org/ i got 37
hi sir as far as my knowledge all the three operators are preincrement so according to associvity rule it should go from right to left not from left to right
Tell me name of company where you made this compiler plz stop these making bullshit type concept..
I got 36 in java eclipse. Why so? Plz explain.
Dear Sir, I use xcode for c programming and i am getting result 36. why?? and for a++ + a++ + a++, i am getting 33. plz answer me. why? xcode is not an older IDE? Then why is it showing like that?
why is the output different for ++a + ++a * ++a and ++a * ++a + ++a .pls can u explain
test.indiatriptravel.com for computer question
mere to iska output 37 hi aara h. manual bhi or compiler ke through bhi….
please sir confusion dur kar dijiya
int b = ++a + a++ + –a;
why is this an undefined behaviour
PROGRAMS + VIDEO TUTORIALS + QUESTION ANSWERS and much more in a Single Android Application For C Language
click the link below to download the application,Its free.
Amazing : But when we should use this technique ?
npoo7.wordpress.com This might be useful to understand
i sent the screen shots to your mail sir
i use codeblocks, i get 37
Can you tell me please what should be the answer
b=a++ + a++ + a++;
and exact what logic to be followed to compute prefix-post fix numericals?
Answer is 37 dont use shitty compilers
37 ans aa rha h
in gcc it’s 37 and how do we get it…
hi sir mera answer turbo c mei 39 but Mobile online compiler mei 37 aa rha hai.ek hi question ka do alag alag answer kaise aa sakta hai sir?
Sir I have One Question:
When i am solve this Question then different C Compiler is Different Output
Plz Explain it.
b=a++ + ++a + ++a;
Output in Turbo C++ 3.0 is : “b=9 and a=4”.
Output in Dev C++ 5.4.0 is : “b=7 and a=4”.
Output in Code Block 16.01 is : “b=8 and a=4”.
int b=++a + ++a + ++a;