ACM EPP Review
  • Problems
  • Learn More About ACM

Arrays

    Brief Odd Sum Combine Remove Negatives Resources

Pointers and References

    Brief Passing by Reference Pointer Swap Array of Pointers Resources

Linked List

    Brief Print Insert Node Delete List Combine Lists Copy List Resources

Recursion

    Brief Print Summation Count Values Calculate Exponentials Resources

Data Structures

    Brief Car Wash Program Car Wash Files Resources

Files

    Brief Read & Write Array Assignment Reading and Writing Objects Odd Text Resources

Print

Print an array and a linked list recursively. Hint: First, find and implement an appropriate base case for the function.

Use the following incomplete function definitions.

Array

void printArray(int arr[], int n) {
    //...
}

Linked List

void printList(Node *head) { 
    // . . .
}


Improve this page


  • ← Previous
  • Next →

ACM EPP Review 2018 | Powered by Jekyll Doc Theme