Ticker

6/recent/ticker-posts

C Language (Derived Data Types)

DERIVED DATA TYPES IN C

Derived data types consisted with help of primary data types (like: int, char, float, etc.)
Therefore we can say, a derived data type is a group of some similar and different primary datatypes.

LEARN PRIMARY DATA TYPE




DERIVED DATA TYPES EXAMPLES

1. Array

2. Reference

3. Pointer


ARRAY INTRODUCTION
Array is a collection of similar data types values and all the values store withing same variable with help of different index number.
Array is an example of a static data type structure therefore it maximum length size cannot change at run time. 

READ MORE ABOUT ARRAY >>



REFERENCE INTRODUCTION

References are the function pointers and these are used to referencing functions with help of special function signatures. 


POINTER INTRODUCTION
Pointer is a special variable that store memory address of another variable and unlike array, pointer is an example of dynamic data type that means we can change its size at run time.

READ MORE ABOUT POINTER >>















Post a Comment

0 Comments