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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between preventative and reactive approaches to testing?

600


How to test documents in a project that span across the software development lifecycle?

664


Hello, I would like to know which all versions of Testing tools (load runner, winrunner, qtp, test director) are no longer used and which versions of these which are being used?

2123


We use the output of the requirement analysis, the requirement specification as the input for writing …

832


Explain cause-effect graphing?

542






Explain sanity testing?

568


What is v- diagram (model)?

569


How to write an implementation plan for our QA system with small budget, from scratch.

1675


can you tell me the correct process for creating automation frame work for project(key word driven framework)

1561


What's Stress Testing?

728


Do you know what the mean of cmm and tmm?

607


I need to learn everything I can about what a Waterfall approach vs. an Agile approach looks like in QA Testing. What is the best online resource?

646


Explain metric?

616


Example: A Bank teller determines a need for a new software that displays customer information on her screen. What would using a Waterfall Methodology look like AND what would an Agile Methodology look like in creating this software product?

652


Mention what are the categories of defects?

586