Design an demonstrated family relationship in data structure using c?

1 answer

Answer

1253086

2026-07-14 17:30

+ Follow

Well.. Let me explain what are the designing concepts rather than how to implement Family Relationship Data Structure by using C. I don't know how your question related to the Databases. I think it's related to the Data Structures and Algorithms. Yeah.. you can use it as a Database by doing few modifications.

In a Family Relationship we can identify these objects

1. People (Male and Female)

2. Marriages

3. Children

There is nothing big deal. It's just another data structure. Not a linked list not a graph, but combination of all. I'll give you a hint.

Male and female getting married. So together they make a family. In this case we can identify Marriage object as Marriage certificate and also a family. One person can have more than one marriages (In case of divorce or death). For each marriage, there is a partner and zero or more children.

It's the simplest organisation of data nodes. When family grows that simple organisation grows and makes hierarchical big data structure. That data structure we call Family Relationship data structure.

If you know how to create Linked List or Graph by using C. It's easy to build this. You may have to use malloc, free, and some structs (nodes). And you have to implement queries (functions to retrieve data).

This is a research paper. It may be useful to you. It has almost everything in pseudo code algorithms.

http://goo.gl/PuheD

But I don't recommend you to implement by using this research. It's for just get an idea. Better to try your own design.

Remember the problem is not in the language. It's about the design and the concept.

Sorry, the Word you are looking for is not in the Database

answer : à¶‹à¶­à·Šà¶­à¶» දෙනවා | උත්තරය | ප්‍රත්‍යුත්තර දෙනවා | ප්‍රත්‍යුත්තරය | ප්‍රතිවà¶à¶±à¶º | පිළිතුර | පිළිතුරු දෙනවා | පිළිවදන් දෙනවා | වග කියනවා

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.