Search found 1 match

by Ferdib_BSMRSTU
Wed Sep 24, 2014 2:39 pm
Forum: Volume 7 (700-799)
Topic: 727 - Equation
Replies: 156
Views: 35305

Re: 727 - Equation

Why I am facing run time error in ansi c ? Here's the code: #include<stdio.h> #include<string.h> char stack[100]; int top = -1; push(char symb) { stack[++top] = symb; } char pop() { return (stack[top--]); } int pr(char n) { switch (n) { case '#': return 0; case '(': return 1; case '+': case '-': ret...

Go to advanced search