What is the correct answer?


what will be the output of the code below :
private sub command_click()
dim I as integer
Print I
Loop until I>10
End sub

A. it will generate compile time error

B. it will generate runtime error

C. it is an endless loop

D. 0 1 2 3 4 5 6 7 8 9 10

Correct Answer :

C. it is an endless loop

Related Questions

It is possible to load a MDI form without any childform. when using 'do until-loop' statement as stated belowI=10Do until I>5Print… To draw a form on the screen which event is being called up Say there is a string "Ramcharan"; when someone using Mid() function like… Instr$(text1.text,"visual") will returns : In runtime it is not possible to change the form size. It is possible to build an application without using any form: The other Single Document Interface forms are by default child of MDI… If there is a control array of label for 10 elements, then what will be… To get the property window in visual basic you have to press : Delete method of the recordset of Data Control or Data Access Object is… It is possible to change the shortcut key assigned to any menu for accessing… which control structure are working under false condition Suppose there is a data control named data1. What will be the effect if… Isnull(), IsEmpty() determines weather any variable has been initialize… It is possible to declare 'Dynamic Array' in visual basic. Sorted property of list box control is a design time property and cannot… In a text box control the default caption for text box is text1. The amount of text any one can place in text box is maximum 64 kb. The default startup object can not be changed in a project Time variable is used to store date and time in visual basic In visual basic 'Break' statement could be used along with "Select Case" In visual basic you can draw something in One can change or read the alignment of one or more paragraph of rich… The size of 'Boolean' data type is : CommonDialog1.ShowOpenFilename1=CommonDialog1.FilenameThe above code will Now() function will return the current drive and directory you are working… To add the commondialog control to any project one has to include it from In case of visual basic, IDE means : To run an application you have to press :