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

Does anyone have best practices for daily backup &restore process for qc 11 ?

1747


What is compliance testing ?

1542


What is a vertical microinstruction?

569


What is quality policy?

633


What is ansi - american national standards institute?

567






What is the benefit of test independence?

580


'This life cycle model is driven by schedule and budget risks' this statement is best suited for.

613


What are the different methodologies in agile development model?

593


what are the different types of questions in testing from related to projects, plz help me in quickly

1712


How will you log a Defect when you are in the process of executing a test case?

1678


What version of the oracle are you familiar with?

633


What is Mainframe testing all about? What is testing methodology which applies to this kind of testing? Can anyone with the basic knowledge of mainframe system can apply for the Mainframe testing job requirement?

2703


Mention the difference between data driven testing and retesting?

595


What is test environment?

638


Explain path testing?

577