Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

which header file contains main() function in c?

17 Answers   Google, HCL, TCS,


Can one function call another?

0 Answers  


Write a code to generate divisors of an integer?

0 Answers   Ericsson,


can v write main() { main(); } Is it true?

6 Answers  


Here is a neat trick for checking whether two strings are equal

0 Answers  


What is the main difference between calloc () and malloc ()?

0 Answers  


What is the output of the program #include<stdio.h> #include<conio.h> void main() {0 int i,j=20; clrscr(); for(i=1;i<3;i++) { printf("%d,",i); continue; printf("%d",j); break; } getch(); }

4 Answers   CTS, Oracle,


what is available in C language but not in C++?

10 Answers   CTS, TCS,


What will be result of the following program? void myalloc(char *x, int n) { x= (char *)malloc(n*sizeof(char)); memset(x,\0,n*sizeof(char)); } main() { char *g="String"; myalloc(g,20); strcpy(g,"Oldstring"); printf("The string is %s",g); } a) The string is : String b) Run time error/Core dump c) The string is : Oldstring d) Syntax error during compilation e) None of these

3 Answers   IBM,


What is the use of parallelize in spark?

0 Answers  


while running a program, i got the msg that press return key to exit.what that mean in C as there are no such options as far i know.

1 Answers   TCS,


What are loops c?

0 Answers  


Categories