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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is total quality management?

782


Which is the best institute in chennai to learn Softyware testing? Please help.

1932


How you would allocate a task to team members?

818


What are the Difficulties you found while testing your module ? plese give the possible difficulties.

2165


What the main advantages of statement coverage metric of software testing are?

764






What is the purpose of exit criteria?

836


What the meaning of code walk through is?

846


What is CDB?

1694


what is the difference between the normal testing and embedded testing?

803


What is difference between known regression testing and unknown regression testing?

795


How is an sql query executed in oracle 8?

830


What is crash?

755


What is the mission of testing?

763


What type of review requires formal entry and exit criteria, including metrics?

1296


What is quality management?

901