CJCoding With Joseph
15free / daySign inCreate account

Carleton University - SYSC 2006

insert_dest_front()

Assignment 2 - Spring 2025

The goal of insert_dest_front() is to insert a new destination route into a node’s routing table. The routing table is a linked list of destination routes, and each new one is simply added to the front of the list. For example If the list looks like:

destD → destC → destB → NULL

And you insert destA at the front, the list becomes:

Members only

Keep reading this lesson

You've reached the end of the free preview. Unlock the rest of this lesson plus 25 more lessons in Carleton University - SYSC 2006.

  • Unlimited coding questions
  • Unlimited access to all classroom material
  • Weekly live call for questions and guidance
  • 3,000 AI tutor tokens / month
  • Personal SQL database (3 MB)
  • Progress tracking

Cancel any time.