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

+10

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. https://code.sololearn.com/c351f1ElyFCS/?ref=app

5/26/2019 10:36:07 AM

Night_fury~

2 Answers

New Answer

+8

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

+2

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