Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion program3.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#include<iostream>
#include<conio.h>
using namespace std;

class node
{
/*
objective: Create a class for implementing node
Objective: Create a class for implementing node
input parameters: none
output value: none
description: class definition
Expand Down Expand Up @@ -94,6 +95,7 @@ void linkedlist::reverse_consec()

int t;
node *temp=head;

while(temp&&temp->next!=0)
{
t=temp->info;
Expand Down