what is difference between array and structure?

Answer Posted / rajkumars

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.

Is This Answer Correct ?    460 Yes 48 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is binary tree in c?

617


What is the difference between call by value and call by reference in c?

610


Can you please explain the scope of static variables?

593


write a c program for swapping two strings using pointer

2082


What does c in a circle mean?

568






Hai what is the different types of versions and their differences

1480


What is a string?

658


What math functions are available for integers? For floating point?

614


How is pointer initialized in c?

575


Write a program of prime number using recursion.

607


What are identifiers c?

557


write a program to copy the string using switch case?

2391


What is #pragma statements?

582


how to construct a simulator keeping the logical boolean gates in c

1716


Suggesting that there can be 62 seconds in a minute?

589