Hindi, asked by stephymolsunny8515, 7 months ago

What is data types in VB? Discuss different data types used in visual basic in detail

Answers

Answered by shreya681141
1

Answer:

HERE IS YOUR ANSWER

Explanation:

Data Types in Visual Basic

The following table shows the list of available data types in a visual basic programming language with memory size and range of values.

Data Type Size Range

Boolean It depends on the Platform. True or False

Byte 1 byte 0 to 255

Char 2 bytes 0 to 65535

Date 8 bytes 0:00:00am 1/1/01 to 11:59:59pm 12/31/9999

Decimal 16 bytes (+ or -)1.0 x 10e-28 to 7.9 x 10e28

Double 8 bytes -1.79769313486232e308 to 1.79769313486232e308

Integer 4 bytes -2,147,483,648 to 2,147,483,647

Long 8 bytes -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807

Object 4 bytes on a 32-bit platform, 8 bytes on a 64-bit platform Any type can be stored in a variable of type Object

SByte 1 byte -128 to 127

Short 2 bytes -32,768 to 32,767

Single 4 bytes -3.4028235E+38 through -1.401298E-45 † for negative values; 1.401298E-45 through 3.4028235E+38 † for positive values

String Depends on Platform 0 to approximately 2 billion Unicode characters

UInteger 4 bytes 0 to 4,294,967,295

ULong 8 bytes 0 to 18,446,744,073,709,551,615 (1.8...E+19 †)

UShort 2 bytes 0 to 65,535

User-Defined Depends on Platform Each member of the structure has a range determined by its data type and independent of the ranges of the other members. MAY IT HELP U???

Similar questions