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
what are non standard function in c
Can you please explain the scope of static variables?
What is the difference between int main and void main in c?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
Differentiate between the expression “++a” and “a++”?
What are c preprocessors?
How can you find the exact size of a data type in c?
What are the advantages of using linked list for tree construction?
What is %g in c?
Is r written in c?
How can you determine the size of an allocated portion of memory?
What is the purpose of realloc()?
Can we access the array using a pointer in c language?
Can we add pointers together?
What is the return type of sizeof?