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

Which command is used for writing text on a page?

0 Answers  


print the array values in ascending order?

2 Answers   CSS Corp,


How to return a value from function...? you should not tell msgbox, print.. etc.,

6 Answers  


Which object is used to work with the database in the vbscript language and what statement is used to create this object?

0 Answers  


what is the function to display current date?

4 Answers  






how does vb script help in web page designing? explain with example.

0 Answers  


Is vbscript a case-sensitive or case-insensitive?

0 Answers  


How to create pull down menu box using vb script

0 Answers  


wat is the com(common object model)object for mozilla firefox???????plz if any one know the exact answer....reply me......

0 Answers  


Mention how you can call vbscript functions?

0 Answers  


Which event is triggered when mouse focus comes out of an element in the vbscript language?

0 Answers  


write a vb script to display 3*3 matrix

1 Answers  


Categories