Ticker

6/recent/ticker-posts

Difference between Array and Structure in C Language



Array :

1. Array is a collection of homogenous data ( same type of data).

2. Array data are accessed using index .

3. Array allocates static memory.

4. Array elements access takes less time than Structure .


Structure :

1. Structure is a collection of heterogenous data (different types of data).

2. Structure elements are access using dot .

3. Structure allocates dynamic memory.

4. Structure elements access takes more time than Array.


Youtube Link :-Click Here

To Support and improve facilities  Please Donate Some amount :
To support this website ,you can donate some amount (01 - 100 Rupees) :

MY UPI :- ak3431865@okicici (using Google Pay)



Post a Comment

0 Comments