VB scrip has a special command named LBound, which returns
the starting index of an arry. What are the possible indexes
an array can start with?
options are given below. and one only the correct answer. pl
select it

1. any index
2. only even non-negative
3. only 0
4. any non-negative integer



VB scrip has a special command named LBound, which returns the starting index of an arry. What are ..

Answer / harsha

array can start with 0 only as we start it.
example:
a="a,b,c,d"
splita=split(a,",")
for i =0 to Ubound(splita)-1
Msgbox splita(i)
Next
Here if you start i with any other number than 0 then we
cannot the see the starting element. you can try and see.

We cant use -ve numbers in array index.

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More QTP Interview Questions

How to Test the mainframe application?(tell me few basic things)

1 Answers   Covansys, IBM, UST,


Is it possible to run QTP scripts created in IE 6.0 in IE 7.0?

4 Answers   TCS,


suppose i have one datatable in my datatable in 2 nd row 3rd column one link is ther i need to validate that link how do u do this?(wipro)

4 Answers   Fidelity, Wipro,


How to retrieve the property of an object?

1 Answers  


how to parameterizing values from an excel sheet in Quick test professional?

1 Answers  


hi i want license key for qtp 9.2 pls its adjust product name : quick test professional locking code :8 - 54A6A license type : seat license maintenance number : 88888888-8888 pls send license key to my email id borusu.ramkumar@gmail.com

0 Answers  


How will u declare a variable to access multiple actions? a)Dim b)Global c)Public d)Private

1 Answers  


Hello Everyone, I have a problem. QTP is capturing no action on a particular page in the application that I am trying to automate. But on the same side its working fine on other pages of the same application. Can someone please help me understand the reason behind this inconsistency.

1 Answers  


How to findout the number of spaces with in STRING For Ex : STRING is " RAJ IS A SOFTWARE ENGINEER " Please send me the answer

3 Answers  


h to all plz send me the answer if any one knows about this....i want the java add-ins for the QTP to do my project which is developed under the java platform.

2 Answers   Four soft,


Please Don't mind .i want in detail the real time process i.e in each document what it contains.

0 Answers  


any one can explain about QTP proocess,means where to start and how to start Scripting.

3 Answers  


Categories