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

hi i am trying for testing job for 3+ experience(fake) can u suggest me what type of projects i can keep in my resume and how much of knoeledge i should have abt that project.thnks in advance.urgt plz

1 Answers  


What is the technology used by vb script?

1 Answers  


who will create the object?

1 Answers   Estuate,


filter the array values without using filter function?

1 Answers   CSS Corp, WQED,


How strcomp function works?

1 Answers  


How will you release the memory acquired by an array variable in vbscript?

1 Answers  


Write a program to print all lines that contains a word either “testing” or “qtp”

2 Answers  


What is the difference between do until loop and do while loop?

1 Answers  


What purpose does ‘on error resume next’ serves?

1 Answers  


hey please tell me how to retriev data from excel sheet which puts the login name and password in the application? plz send me the code..please help me

6 Answers   HP,


How are arrays declared in the vbscript language?

1 Answers  


Which keyword is used to declare a variable in the vbscript language?

1 Answers  


Categories