Ask a Question

what is varient type?give an example.

on 2013-03-05 16:41:44   by SUBHAJIT   on BCA  3 answers

sanchayita

on 2013-03-06 10:30:00  

Variant is a data type in certain programming languages, particularly Visual Basic and C++ when using the Component Object Model.

sanchayita

on 2013-03-06 10:30:00  

In Visual Basic (and Visual Basic for Applications) the Variant data type is a tagged union that can be used to represent any other data type (for example, integer, floating-point, single- and double-precision, object, etc.) except fixed-length strin

sanchayita

on 2013-03-06 10:30:00  

string type and record types. In Visual Basic any variable, not declared explicitly or the type of which is not declared explicitly, is taken to be a variant.