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

I need to learn who the major stakeholders are in each of the 7 stages of the SDLC. What is the best online resource?

659


What r SQA activities?

27867


What is the difference between the stlc (software testing life cycle) and sdlc (software development life cycle)?

590


An input field takes the year of birth between 1900 and 2004 what the boundary values for testing this field are?

633


What is process and procedures?

533






What do you mean by automated testing?

600


what is automation testing process? What are the main steps invloved in it?

867


Functional testing?

552


What is quality circle?

640


I am planning to write a ISTQB Certification exam , i don't know about EXAM fee structures , please tell me the fee structure ? mail id: karthitkd.123@gmail.com

1538


Which is not a tool of static code analysis? a.)Ada b.)Borland-delphi c.)Fortan d.)None

2008


Could reviews or inspections be considered part of testing?

1457


What is benchmark?

537


HI friends, I am planning to take up foundation level ISTQB Certification exam in March. Anybody having the study materials and sample papers please mail sunkumaranr@gmail.com Thanks in Advance...

1619


Explain stress testing?

568