summaryrefslogtreecommitdiffstats
path: root/4
diff options
context:
space:
mode:
authorSadeep Madurange <smadurange@users.noreply.github.com>2021-12-08 18:55:29 +0800
committerSadeep Madurange <smadurange@users.noreply.github.com>2021-12-08 18:55:29 +0800
commitad2695d5baee05e88f5a118e85d1b3189abb36f5 (patch)
tree7815a18c313e0d38ef7ae9cfa673421db3161c95 /4
parent3bbc1d91f1679f990eeb01b14772440940840cd0 (diff)
downloadk&r-exercises-ad2695d5baee05e88f5a118e85d1b3189abb36f5.tar.gz
4.4
Diffstat (limited to '4')
-rw-r--r--4/4.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/4/4.c b/4/4.c
index ed443bf..a1e99e2 100644
--- a/4/4.c
+++ b/4/4.c
@@ -7,9 +7,6 @@
#define MAXVAL 100 /* max depth of val stack */
#define BUFSIZE 100
-// commands: +, -, *, /, %, p (prints the top one)
-// c (dups top), s (swaps top two), c (clear stack)
-
int sp = 0; /* next free stack position */
double val[MAXVAL]; /* value stack */