What is the difference b/w Structure & Array?

Answer Posted / namita

1-array is the collection of variables of same kind of data
types where as structure is a colection of variables of
different type os data types.

2-Array use index or subscript to access its members where
as structure uses "." operator.

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

the process of defining something in terms of itself is called (or) in C it is possible for the functions to call themselves. A function called a) nested function b) void function c) recursive function d) indifinite function

1005


how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software

3039


write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.

2517


How does #define work?

837


How can you return multiple values from a function?

827


What do you mean by a local block?

822


Explain what is page thrashing?

824


in linking some of os executables are linking name some of them

1881


Is there any demerits of using pointer?

805


Explain why can’t constant values be used to define an array’s initial size?

1092


What is array of structure in c programming?

995


What is a class c rental property?

847


What is wrong in this statement?

812


Can we use any name in place of argv and argc as command line arguments?

818


What is array in C

915