Skip to content

Instantly share code, notes, and snippets.

View sonangrai's full-sized avatar
🏠
Working from home

Sonahang Rai sonangrai

🏠
Working from home
View GitHub Profile
#include<stdlib.h>
#include<iostream>
using namespace std;
// Creating a NODE Structure
struct node
{
int data;
struct node *next;
#include<stdlib.h>
#include<iostream>
using namespace std;
// Creating a NODE Structure
struct node
{
int data;
struct node *next;
#include <iostream>
#include<stdlib.h>
#define max 5
int top=-1,item;
using namespace std;
/* push*/
void push(int stack[] ,int item)
{
top++;