what is difference between array and structure?

Answer Posted / priya

Array have same data type and static memory allocation....
Structure have different data type and dynamic memory
allocation

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the need of structure in c?

534


Is array name a pointer?

580


There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?

786


What do you mean by scope of a variable in c?

518


Explain how can you avoid including a header more than once?

581






What is the right type to use for boolean values in c? Is there a standard type?

538


Tell us the use of fflush() function in c language?

605


What is the Purpose of 'extern' keyword in a function declaration?

623


What are the types of macro formats?

584


What is 02d in c?

607


A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream

637


What are valid signatures for the Main function?

671


One of the Institutes contains 5 student groups. Every group contains 4 students. Institute wants to store student group’s details in array. Group should contain group member’s details (name and registration number and age), project name, and mark of the group.

2127


Write a factorial program using C.

613


Do you know what are the properties of union in c?

555