Skip to content

ankushac04/stack-implementation-in-C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Stack Implementation in C

Description
This project contains a simple C program (stack.c) implementing a stack using an array. It supports push, pop, display operations, and demonstrates overflow and underflow conditions.

Files in this repository

  • stack.c – source code for the stack operations
  • output.txt – sample output from running the program
  • screenshot.png – screenshot of the code and output together
  • README.md – this file

How to compile and run

gcc stack.c -o stack
./stack

About

“C program for stack operations push/pop/display”

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages