Stack implementation error | Sololearn: Learn to code for FREE!


Stack implementation error

Hello guys, I have coded a program for stack implementation using array. Here it is working perfectly fine, but it is giving an error in code::blocks. The error is stated as follows: sh: 1: Syntax error: “(“ unexpected I have checked this code thrice and still unable to figure out what is wrong. If anyone can help it would be great.

5/26/2019 10:36:07 AM


2 Answers

New Answer


when I run this code it gives sh: 1:Syntax error:”(“ unexpected [in console window], maybe it is my compilers fault 🤔


I just run the code. Look fine for me. Looka like it was a simple syntax error or?