Interview Questions   Tutorials   Discussions   Programs   

C - Difference between array and structure?




313
views
asked marvit August 18, 2014 08:21 AM  

Difference between array and structure?


           

1 Answers



 
answered By bhjahnavi   0  
  •  array -same data type.structure -diff datatype
  • Array:Static memory allocation.It uses the subscript to access the array elements.Structure:Dynamic memory allocation.It uses the dot(.)operator to access the structure members. 
flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert