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 / suneetha
Ans:
X=6
Y=17
Solution:
changevalues(10,2)
x=10+2/2=6
y=2+10+5=17
| Is This Answer Correct ? | 4 Yes | 7 No |
Post New Answer View All Answers
Explain acceptance testing?
What is recovery/error testing?
What is the difference between Manual Test Plan and the Automated Test Plan?
What is the maximum length of cable supported in SCS-1,2 and 3?
What is a test closure?
Can anyone provide the definitions for the following abbreviations? Thanx to anyone who could CIT CAP
There is very little time to test due to the development team delay how will you handle this situation?
What is the main goal of defect prevention meeting?
What is the negative and positive testing?
What r SQA activities?
What the meaning of code walk through is?
Set a=description.Create a("name").value="Google" Set b=description.Create b("Title").value="Google" Set c=description.Create c("micclass").value=" webedit" 'c("name").value="q" 'c("type").value="text" 'Set d=description.Create 'd("name").value="q" Set e=description.Create e("micclass").value="webbutton" e("name").value="Google Search" Set h=description.Create h("name").value="qtp - Google Search" Set desc=description.Create desc("micclass").value="webelement" desc("type")="qtp" Set l=description.Create l("title").value="qtp - Google Search" 'invokeapplication"C:\Program Files\Internet Explorer\IEXPLORE.EXE","http://www.google.co.in/" invokeapplication"C:\Program Files\Internet Explorer\IEXPLORE.EXE" Browser(a).Page(b).WebEdit(c).set"qtp" Browser(a).Page(b).WebButton(e).click set z=Browser(h).Page(l).childobjects(desc) i=z.count print i 'For j=0 to i -1 ' m=z(j).getroproperty("text") ' msgbox m ' print m ' 'Next hi guys this is anil. i am beginner in advance qtp. i am trying to write script for searching web element (QTP)in google. i have posted a script plz check it. send me solution how to write scripting for search and counted no qtp word in google search . plz tell me the solution ASAP
What is problem?
What is a software version?
How will you hack someone's gmail or yahoo account.