20th Oct 2020, 3:13 PM
Shweta Mahajan
Shweta Mahajan - avatar
3 Answers
+ 2
//add prototypes for isFull,isempty functions int isFull(); int isEmpty(); scanf("%d", &stack_size); //use &stack_size, not stack_size printf("Enter the size of stack : %d" , stack_size); //not stack_array Just These 4 changes need to work it correctly.... Edit : use int main() {...} not void here
20th Oct 2020, 3:37 PM
Jayakrishna 🇼🇳