what is difference between array and structure?

Answer Posted / adilakshmi

Array elements are homogeneous type.
Structure elements are different data type.
Array is the pointer to the first element.
Structure is not a pointer.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you explain what keyboard debouncing is, and where and why we us it? please give some examples

1648


Can you subtract pointers from each other? Why would you?

556


the real constant in c can be expressed in which of the following forms a) fractional form only b) exponential form only c) ascii form only d) both a and b

1901


Explain what are multibyte characters?

621


List out few of the applications that make use of Multilinked Structures?

1284






What are disadvantages of C language.

640


C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions

606


int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above

740


What do header files do?

599


Stimulate calculator using Switch-case-default statement for two numbers

2442


How can I copy just a portion of a string?

812


swap 2 numbers without using third variable?

656


Is it possible to execute code even after the program exits the main() function?

805


What is 'bus error'?

639


How do you generate random numbers in C?

650