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 |
What are the main bugs which were identified by you and in that how many are considered as real bugs?
What is bottom-up testing?
I have the experience of about 1yrs and 6 months in software testing. Now i must have to shift from this due to unavailablity of projects. But for now I am not able to find any opening in testing with 1+ yrs experience. Plz anybody mail me if anybody finds any openings. Thank you
what you do when your reported defect rejected?
hi frens, i need ur help if nebody had worked or workin on online banking projects n online job portals ..frens cud u pls gimme the realtime examples for critical bugs, high severity n low priority bugs high severity n high priority bugs low severity n low priority bugs high severity n low priority bugs related to banking n job portal
What is technical review?
EXPLAIN HISTORY OF SOFTWARE ENGINERRING? ISO & CMM certification and its use in context to software testing
What is v&v?
Explain smoke testing?
what is diff. between CMMI and CMM levels?
What is difference between Access(DBMS) and RDBMS like SQL Server or Oracle?. Why Access is not used in web based application?
7 Answers Disha Tech, Infosys, TCS, Wipro,
write a script to extract LIKE word from the sentence I LIKE Flowers