What is the difference b/w Structure & Array?

Answers were Sorted based on User's Feedback



What is the difference b/w Structure & Array?..

Answer / prashant tiwari

array is the set of same type of variable & structure are
use 4 different type of variable

Is This Answer Correct ?    15 Yes 3 No

What is the difference b/w Structure & Array?..

Answer / sarayu

1_array is the collection of similar data items but
structure is the collection of dissimilar data items.

2.structure members are accesed only by structure
variables.on the hand of array that is no need.

Is This Answer Correct ?    3 Yes 0 No

What is the difference b/w Structure & Array?..

Answer / 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

What is the difference b/w Structure & Array?..

Answer / ashu_deepu

structure can hold different types of data as well as
functions.each member are referenced by .(dot) operator.

but array hold similar type of data type.we just use index
to accesss each element of the array.

Is This Answer Correct ?    1 Yes 0 No

What is the difference b/w Structure & Array?..

Answer / basri zuber a

array is collection of similer datatype.structure is
collection of diffrent diffrent data type.

Is This Answer Correct ?    0 Yes 0 No

What is the difference b/w Structure & Array?..

Answer / khaja

array is used for same or similar datatypes
and
structure is used for different data types

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

Why flag is used in c?

0 Answers  


how 2 compile & execute c program with out using editor?

2 Answers   HP,


errors in computer programmes are called

1 Answers   NET,


52.write a “Hello World” program in “c” without using a semicolon? 53.Give a method to count the number of ones in a 32 bit number? 54.write a program that print itself even if the source file is deleted? 55.Given an unsigned integer, find if the number is power of 2?

25 Answers   Datamatics, Solartis, TCS, ThinkBox, Trine,


What is meant by gets in c?

0 Answers  


What is the use of bitwise operator?

0 Answers  


What is wild pointer in c?

0 Answers  


What does. int *x[](); means ?

0 Answers   Wilco,


diff .between strcture and union

2 Answers  


write a program whose output will be- 1 12 123 1234

10 Answers  


Can stdout be forced to print somewhere other than the screen?

0 Answers  


second highest number in a given set of numbers

3 Answers   TCS,


Categories