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 the difference between vb and vb.net

2 Answers  


What is the purpose of the DoEvents command?

2 Answers  


How the image application?

0 Answers  


Is a foo VBX/DLL available as shareware/freeware?

0 Answers  


What can you do with visual basic?

0 Answers  


What are the Internet tools available in VB 6.0?

0 Answers  


how to validate the pop up window Example :assume there is an webpage in that webpage we had a button to browser or file to upload . how to validate this button if we click on that botton window should appear else back to the page i need in VB Script Code since i am using QTP for testing

1 Answers   Sapient,


What is ado data control in vb?

0 Answers  


What is RdExecDirect?

1 Answers  


How can I speed up my VB database application?

0 Answers  


What is OLEDB?

0 Answers  


What is the difference Between ADO and other data access objects?

1 Answers  


Categories