What is the error message that you would get if you try to
assign "Null" to an integer variable?

Answer Posted / bhanu reddy

when u assign a null value to int varible

like
int i=null;

we will get error message :
Cannot convert null to 'int' because it is a non-nullable
value type

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the Differences between Recordset and Resultsets?

2270


Explain what is Visual basic?

777


How do I implement an incremental search in list/dir/combo/file boxes?

1191


Can any one please suggest which institute is providing Advance Excel & VBA Macros in Excel training in Hyderabad.

1924


DHTML Is used for what?

1653


What is the use of Active Control Property?

1662


What is the use of Hyperlink control for DHTML applications?

1609


Is visual basic case sensitive?

816


How do I make the mouse cursor invisible/visible?

1110


When/Why should I use Option Explicit?

1228


How would you create properties in ActiveX Control?

1703


which property of menu cannot be set at run time.

1683


Types of cursors in RDO.

1777


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

1721


__ no of controls in form.

1247