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 are the Differences between Class Module and Standard Module?

1 Answers  


What is the max size of textbox?

2 Answers  


What is the difference between Exec and ExecSQL? (wouldnt this be dependent on data access? Ie ADO use different method than DAO)

1 Answers  


How to get free file location in memory?

1 Answers  


What are the Differenct Types of Instancing Property in ActiveX Dll and Exe?

0 Answers   Wipro,






Q1. A. Discuss the various types of variables. B. How to control the file? Q2. A. How the image application? B. Write short notes on trees structures work. Q3. A. How to load and unload child forms. B. When should we use recursive programming Q4. A. Write short notes on "The ole control's shortcut menu" B. How to test the AX stat class Q5. A. How to use advanced data-bound controls. B. Write notes on manipulating the recordset object Q6. A. What is script control? B. How to down load image properties. C. What is meant by building a recordset.

1 Answers   Infotech,


Is Visual Basic case sensitive in general?

3 Answers  


How do I force a file dialogue box to reread the currect disk?

0 Answers  


Which controls can not be placed in MDI?

3 Answers  


What is the difference between Single and Double in VB?

4 Answers  


What are the different procedures associated with the object?

0 Answers  


To validate a range of values for a property whenever the property values changes,which type of property procedure you use?

1 Answers  


Categories