this code segment sticks in a loop when it enters the push() function....
int stack[100] and int top=-1 have been defined globally and "*array_stncnt" accepts pointer to an array of integers of size accepted by variable "count"...thanks in advance for your help...
Code:
void function(int count,int *array_stncnt) |
This thread is a duplicate of:
http://www.linuxquestions.org/questi...nction-895886/ |
All times are GMT -5. The time now is 10:53 AM. |