Thursday, September 26, 2019

One size fits all datatypes Essay Example | Topics and Well Written Essays - 250 words

One size fits all datatypes - Essay Example The integer types has a number o language applications include signed char, char, short, unsigned short, unsigned long and unsigned char which have different storage size and value ranges (MACDONALD, 02, 2007). The void types exists in three main forms which include function returns as void, functions arguments as void that do not accept any parameter inserted to it and pointers to void that shows the address of a given object but does not include its type. The floating-point types has a applications such as the float, double and long double with different storage capabilities, value ranges as well as precision (CONNER, 12, 2010). The words true or false can be used in the description of Boolean types despite the fact that the two values or terms are hardly used as a single binary digit in order to achieve efficiency. The composite types use programming languages such as union which refers to the total number of permitted primitive data types (BALENA, 23, 2004). An array is a composite type that is able to store large number of elements in the format. An object offers description on the number of data fields that can be accessed through a program code. A set describes an abstract data structure that has the ability to store a number of certain values while a tagged union has additional fields that are used for enhancing the safety of a data type ( STEPHENS, 67, 2004). STEPHENS, J., RUSSELL, C., & HILLYER, M. (2004). Beginning MySQL database design and optimization from novice to professional. Berkeley, Calif, Apress.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.