please help me write a function which will return the last element in an unsorted list.
the prototype of the function should be
ItemType ReturnLastItem();
we should assume that the list is not empty ans it shouldnt change after the program is executed..
pleeeeeeeeease help me
elsa87 0 Junior Poster in Training
minas1 1 Junior Poster in Training
elsa87 0 Junior Poster in Training
elsa87 0 Junior Poster in Training
Narue 5,707 Bad Cop Team Colleague
elsa87 0 Junior Poster in Training
Narue 5,707 Bad Cop Team Colleague
elsa87 0 Junior Poster in Training
minas1 1 Junior Poster in Training
elsa87 0 Junior Poster in Training
minas1 1 Junior Poster in Training
elsa87 0 Junior Poster in Training
minas1 1 Junior Poster in Training
elsa87 0 Junior Poster in Training
minas1 1 Junior Poster in Training
elsa87 0 Junior Poster in Training
minas1 1 Junior Poster in Training
elsa87 0 Junior Poster in Training
Narue 5,707 Bad Cop Team Colleague
elsa87 0 Junior Poster in Training
minas1 commented: Grow up. +0
Narue 5,707 Bad Cop Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.