Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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?

1172


What is top-down strategy?

961


What is an equivalence partition (also known as an equivalence class)?

1187


What is version description document (vdd)?

1074


Explain what lcsaj is?

1052


I need to learn everything I can about the SDLC. What is the best online resource?

1234


In which order should tests be run?

1058


Explain what test plan is? What is the information that should be covered in test plan?

1047


Can we use agil/scrum methodology in prodcut testing.

2081


Have you performed tests on the front-end and the back-end?

1094


What is exhaustive testing?

1062


When is used decision table testing?

1054


What is a technical analyst?

1056


Explain mutation testing?

1064


Explain what is 'test plan driven' or 'key word driven' method of testing?

1334