Write a program to create a Dynamic array of size 5 elements and display all the elements.



Write a program to create a Dynamic array of size 5 elements and display all the elements...

Answer / sunita001

redim my array(4)
my array(1)="23"
my array(2)="30"
my array(3)="21"
my array(4)-"12"
redim preserve my array(6)
my array(5)="43"
my array(6)="55"
msgbox my array(5)

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More VB Script Interview Questions

How to find arry size in qtp vb script

2 Answers   Cap Gemini,


does anyone have qtp11.0 license key.Please sendit to my mail id-rrvv2011@gmail.com...Thanks

0 Answers  


what is the difference between modular and data and keyword driven framework

0 Answers  


How to load vbs functions in qtp

2 Answers  


find the length of the string without using length function?

4 Answers   CSS Corp,






How can constants be declared in the vbscript language?

0 Answers  


Write a program using Java Script / VBscipt that checks if two matrices have identical values in all the elements

1 Answers   Ignou,


What is the differene between QTP 8.2 and QTP 9.0 and QTP 9.1,Pls give me answer ASAP.

3 Answers   Accenture,


How will you generate Reports using Vb Script?it asked in testing(QTP)Interview.Plz Any Body Let me know. Thanks uday Uday_testing@yahoo.co.in

4 Answers   NIIT,


What is the difference between a dictionary and an array?

0 Answers  


how to validate the text in a web table

2 Answers   Mphasis,


What is the event handling in vbscript?

0 Answers  


Categories