Question: Consider your facebook photo album. Write code to represent the photo album. (only the private section). Use a circular doubly linked list to implement the
Consider your facebook photo album. Write code to represent the photo album. (only the private section). Use a circular doubly linked list to implement the photo album. Assume that the photo album comprises of "photos" where each "photo" is an image file, a "like" integer, a string of comment, a link to the previous photo and a link to the next photo. Draw memory diagram of a Photo Album (has a pointer to the first and last photos and a count variable to keep track of the number of photos) with three photos which is stored in memory in a doubly linked list structure. Assume the following: [10] 7. The PhotoAlbum is created in memory location 0x123 ii. The three photos are in memory locations OxBA, OxCB, and OxAF respectively ii. Show the members of PhotoAlbum and each photo clearly
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
