what is difference between array and structure?

Answer Posted / siddharth kothari

An array behaves like a built-in data type. All we have to
do is to declare an array variable and use it. But in the
case of a structure, first we have to design and declare a
data structure before the variables of that type are
declared and used

Is This Answer Correct ?    44 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is structure packing in c?

596


What would happen to X in this expression: X += 15; (assuming the value of X is 5)

1289


how is the examination pattern?

1587


What is meant by 'bit masking'?

876


What is a dynamic array in c?

586






Explain the properties of union. What is the size of a union variable

710


Write a program of advanced Fibonacci series.

700


Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?

569


What are header files in c programming?

651


There seem to be a few missing operators ..

607


Explain #pragma statements.

598


What is dangling pointer in c?

614


How can I sort more data than will fit in memory?

619


What is define c?

564


In which language linux is written?

593