What is the difference between Dim nCount as Integer vs Dim
nCount% and when would you use each?

Answers were Sorted based on User's Feedback



What is the difference between Dim nCount as Integer vs Dim nCount% and when would you use each?..

Answer / suresh

No difference as per my knowledge.

Is This Answer Correct ?    0 Yes 0 No

What is the difference between Dim nCount as Integer vs Dim nCount% and when would you use each?..

Answer / parmanand

Nops there is a difference my friend!

Is This Answer Correct ?    0 Yes 0 No

What is the difference between Dim nCount as Integer vs Dim nCount% and when would you use each?..

Answer / parmanand

Your answer is wrong "Priti Wankhede" .... % is one way to declare variables in VB there you need not to tell the type. % it self tells the type is integer :)

Is This Answer Correct ?    1 Yes 1 No

What is the difference between Dim nCount as Integer vs Dim nCount% and when would you use each?..

Answer / saravanapandian.p

% is anoter way to declare variables in VB there is no need
to tell the type. % it self tells the type is varient

Is This Answer Correct ?    0 Yes 0 No

What is the difference between Dim nCount as Integer vs Dim nCount% and when would you use each?..

Answer / priti wankhede

First variable datatype is Integer and Second variable
datatype is variant, because by default daya type in VB is
Variant, there is a difference.

Is This Answer Correct ?    0 Yes 1 No

What is the difference between Dim nCount as Integer vs Dim nCount% and when would you use each?..

Answer / srikanth

% is anoter way to declare variables in VB there is no need
to tell the type. % it self tells the type is integer

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Visual Basic Interview Questions

What is ODBC?

1 Answers  


What is the difference between queryunload and unload in form?

2 Answers  


What are the types of Error? In which areas the Error occurs?

0 Answers  


How to find size of the file. Which method or function is used to occomplish this?

1 Answers  


What is the size of the variant data type?

3 Answers  






What are properties available in Clip Board?

1 Answers  


How would you map properties to controls by using ActiveX Control Interface Wizard?

0 Answers  


How would you access objects created in ActiveX Exe and ActiveX Dll

0 Answers  


in vb6.0 can we use function keys (F1 to F12) in form_keypress event in a form which contains commandbutton (s) control? if yes, then explain me how it is possible. Thanks.

2 Answers   Wipro,


How will you define a function to accept variable number of arguments ?

1 Answers  


How would you run your ActiveX Document Dll?

0 Answers  


How can you read content from file?

2 Answers  


Categories