<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/"><channel><title>Blog on Naresh Mehta</title><link>https://naresh.se/en/categories/blog/</link><description>Recent content in Blog on Naresh Mehta</description><generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>naresh.mehta@gmail.com (Naresh Mehta)</managingEditor><webMaster>naresh.mehta@gmail.com (Naresh Mehta)</webMaster><copyright>&amp;copy;{year}, All Rights Reserved</copyright><lastBuildDate>Mon, 05 Jun 2017 16:49:17 +0200</lastBuildDate><sy:updatePeriod>weekly</sy:updatePeriod><atom:link href="https://naresh.se/en/categories/blog/index.xml" rel="self" type="application/rss+xml"/><item><title>Print a singly linked list in reverse!</title><link>https://naresh.se/en/posts/2017/3480/</link><pubDate>Mon, 05 Jun 2017 16:49:17 +0200</pubDate><author>naresh.mehta@gmail.com (Naresh Mehta)</author><atom:modified>Wed, 16 Apr 2025 18:13:58 +0200</atom:modified><guid>https://naresh.se/en/posts/2017/3480/</guid><description>&lt;p&gt;Today&amp;rsquo;s topic is pretty simple. Let&amp;rsquo;s print a linked list in reverse. And it is a singly linked list meaning you can only traverse in one direction and not come back. You are only given a pointer to the head. So without further ado, below is the c++ code. Only the important parts are shown. Rest is left as an exercise for the reader to create a fully working program.&lt;/p&gt;</description><dc:creator>Naresh Mehta</dc:creator><category>blog</category></item></channel></rss>