Question:What are merits and demerits of array in c? 

Answer Merits: (a) We can easily access each element of array. (b) Not necessity to declare too many variables. (c) Array elements are stored in continuous memory location. Demerits: (a) Wastage of memory space. We cannot change size of array at the run time. (b) It can store only similar type of data 

+ Report
Total Preview: 7955
What are merits and demerits of array in c?
Copyright © 2024. Powered by Intellect Software Ltd