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

Write a program which returns the first non repetitive character in the string?

0 Answers   Expedia,


What is cohesion and coupling in c?

0 Answers  


what is the maximum no. of bytes calloc can allocate

4 Answers   Mphasis,


Print all numbers which has a certain digit in a certain position eg: number=45687 1 number=4 2 number=5 etc

4 Answers  


Where is volatile variable stored?

0 Answers  






Why do u use # before include in a C Progam?

9 Answers   IBM,


What is the use of f in c?

0 Answers  


Is c compiled or interpreted?

0 Answers  


What are the loops in c?

0 Answers  


How can I open a file so that other programs can update it at the same time?

0 Answers  


#include<stdio.h> int f(int,int); int main() { printf("%d",f(20,1)); return 0; } int f(int n,int k) { if(n==0) return 0; else if(n%2)return f(n/2,2*k)+k; else return f(n/2,2*k)-k; } how this program is working and generating output as 9....?

1 Answers  


main() { printf(5+"Vidyarthi Computers"); }

6 Answers  


Categories