Hello,
I was wondering why do we need to assign value of -1 to the top of the stack?
topOfStack = -1;
Thank you
grisha83 26 Junior Poster in Training
Grn Xtrm 84 Posting Pro in Training
Mubo 0 Newbie Poster
hardik.rajani 0 Light Poster
verruckt24 438 Posting Shark
grisha83 26 Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.