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...

IS STRUCTURES CAN BE USED WITHIN AN ARRAY?

Answer Posted / shruti

yesss.

we do used structures within arrays..

struct student
{
char name[20];
int roll_no;
}s[10]

this is array of structures..

we use "."(dot) operator to access the element
s[i].name = ""
s[i].roll_no = ...

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a char in c?

986


What are the 5 types of organizational structures?

1069


Why do we use static in c?

1116


Explain what is the difference between a string and an array?

1162


Explain how do you determine the length of a string value that was stored in a variable?

1148


What is the value of h?

1033


general for is %wd,f-d; in this system "w" means a) 'w' represent total width of digits b) 'w' represent width which includes the digits before,after decimal place and the decimal point c) 'w' represent width which includes the digits before only d) 'w' represent width after decimal place only

1068


Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop

2147


FILE PROGRAMMING

2222


What are the two forms of #include directive?

1158


Explain what are header files and explain what are its uses in c programming?

1149


What is the size of empty structure in c?

1078


Explain the difference between malloc() and calloc() in c?

1041


Is struct oop?

997


What is function prototype in c language?

1026