there is a function called changevalues(x,y)inside this
function
x=x+y/2
y=y+x+5
end
so
i am calling function in one program as changevalues(y,x)
what is the output if x=2 and y=10(ignore exact programatic
statements)
please can any one provide me answer for this immediately
Answers were Sorted based on User's Feedback
Answer / suman.p
Hey guys
x=10+2/2 is supposed to be 11, not 1. Forgot operator precedence?
so, x=11 and y=17.
That's it!
| Is This Answer Correct ? | 8 Yes | 3 No |
Answer / saravana
x=11
y=18
after execution of first statement x value changes to 11 so in second statement y=2+11+5
so y=18
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / suneetha
Ans:
X=6
Y=17
Solution:
changevalues(10,2)
x=10+2/2=6
y=2+10+5=17
| Is This Answer Correct ? | 4 Yes | 7 No |
Answer / swamy
X=6
Y=17
Solution:
changevalues(10,2)
x=10+2/2=1
y=2+10+5=17
| Is This Answer Correct ? | 2 Yes | 6 No |
After working in development for six months, what made you to shift into testing? I faced this question several times.
What n+1 testing is?
What is test specification?
What do you think is a good investment, a defect tracking system or a test management system integrated with a defect tracking tool? Please suggest.
What are your salary requirements?
What is qualification testing?
What are verification and validation?
What is the technical reviews and reviews?
What lcsaj is?
I. Customer focus II. Radical process improvement III. Incremental process improvement IV. Quality control specialists are key V. Assumption of unsound processes VI. Human side of quality VII. Measurement and analysis In the statements above, what are the key elements in the TQM philosophy? 1. I, III, VI, and VII 2. I, II, VI, and VII 3. I, II, IV, and VI 4. III, IV, V, and VII 5. I, III, V, and VI
What is a document version?
What is exhaustive testing?