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 does a pointer variable always consist of?

1107


Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.

2099


What is infinite loop?

1097


What does the function toupper() do?

1137


What is character set?

1175


Explain about the constants which help in debugging?

1382


What is the difference between union and anonymous union?

1313


using for loop sum 2 number of any 4 digit number in c language

2351


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

1130


What is substring in c?

1209


hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .

2447


What is the use of pragma in embedded c?

1063


how to create duplicate link list using C???

2564


What is masking?

1157


Do array subscripts always start with zero?

1310