Posts

Write a C program that reads several different names and addresses into the computer, rearranges the names into alphabetical order, and then writes out the alphabetized list. Make use of structure variables within the program

Define a structure called ParliamentMember, consisting of the following fields: Member Name, Region Name, Party Name and Percentage of vote achieved. Create an array of structure to hold records of 20 such Member details and then write C code to read these records and find out the record of those members who has won from particular region

Define a structure of type hms containing three integer numbers, called hour, minute and second, respectively. Then define a union containing two members, each a structure of type hms. Call the union members local and home, respectively. Declare a pointer variable called time that points to this union.

Declare a user defined data type called Person with 3 fields of the following type: Name, DOB (Date of Birth) and Address,where Name contains FirstName and LastName, DOB contains Day, Mon and Year; and Address has the following fields: House, Street, City, State, PinCode and TelephoneNo.