I don’t understand the way structs are created in this chapter.We create a struct and then write it into a file. email,name,id is created in Address or Database or Connection.
struct Address *addr = &conn->db->rows[id]; conn->db->rows[id] = addr; struct Database *db = conn->db;
I dont understand exactly what does this line do. It assigns addr to conn. Is the data created twice. Using Address struct and Database struct which is nested in Connection.