Scalar Built-in Data Types, Elementary Data Structures

Explain Scalar Built-in Data Types, Elementary Data Structures with Example. 


  Elementary Data Structures

      Elementary Data Structure are fundamental approaches to organizing data.  These are the building blocks that will be used to implement more complex Abstract Data Types.

Scalar (built-in) data types
Arrays
Linked Lists
Strings

Scalar Built-in Data Types

Basic building blocks for other structures:
Integers (int)
Floating-point numbers (float)
Characters (char)

Implicit type conversion allow these data types to be mixed in an expression.
Sometimes casting is required to for an expression to evaluate correctly
((float) x) / N

Labels: