In The Given C Snippet Find The Statement Number That Has #195
In the given C snippet, find the statement number that has error.</p> <pre><code class="language-c"> //C code to push an element into a stack 1. void push( struct stack *s, int x) 2. { 3. if(s->top==MAX-1) 4. { 5. printf(“stack overflow”); 6. } 7. else 8. { 9. s->items[++s->top]=x; 10. s++; 11. } 12. } </code></pre>
This multiple choice question (MCQ) is related to the book/course gs gs121 Data Structures and Algorithms. It can also be found in gs gs121 Application of Stacks - Evaluation of a Prefix Expression - Quiz No.1.
Similar question(s) are as followings:
Online Quizzes of gs121 Data Structures and Algorithms
Binary Trees - Binary Search Tree - Quiz No.1
gs gs121 Data Structures and Algorithms
Online Quizzes
Binary Trees - Binary Search Tree - Quiz No.2
gs gs121 Data Structures and Algorithms
Online Quizzes
Binary Trees - Preorder Traversal - Quiz No.1
gs gs121 Data Structures and Algorithms
Online Quizzes