Explore BrainMass

Explore BrainMass

    C++ linked list pointers

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    Given the attached code (see file), what is the values of the following expressions.

    They may be undefined or the boolean expression may be invalid

    a) firstptr->next->firstname
    b) firstptr->next-next->SSN
    c) firstptr->next==lastptr
    d) currptr->next->lastname
    e) currptr->next->lastname
    f) firstptr==lastptr->next

    © BrainMass Inc. brainmass.com October 9, 2019, 7:51 pm ad1c9bdddf


    Solution Preview

    a) firstptr->next->firstname

    b) ...

    Solution Summary

    Linked list of pointers is explored.