answersLogoWhite

0

It is the space between the balls and the penis!!

User Avatar

Wiki User

15y ago

What else can I help you with?

Continue Learning about Engineering

What is peep operation in stack using array in c?

I guess you mean operation top: return the topmost element without deleting it from the stack.int top (const struct stack *from, stacktype *into){if (from->elements==0) return -1; /* EMPTY */*into = from->array[from->elements -1];return 0; /* OK */}compare with pop:int pop (struct stack *from, stacktype *into){if (from->elements==0) return -1; /* EMPTY */*into = from->array[from->elements -1];--from->elements;return 0; /* OK */}


What is implicit stack?

A stack created by the user or a programmer is an implicit stack


Pseudo-code for stack operation?

Here's a simple pseudo-code for basic stack operations: initialize stack push(value): if stack is full: print "Stack Overflow" else: stack[top] = value top = top + 1 pop(): if stack is empty: print "Stack Underflow" return None else: top = top - 1 return stack[top] peek(): if stack is empty: print "Stack is empty" return None else: return stack[top - 1] This pseudo-code includes functions for pushing a value onto the stack, popping a value from the stack, and peeking at the top value without removing it.


Can stack be as a pointer?

A stack is a data structure in which last item inserted is taken out first . That's why they are known as LIFO (last in first out). Inserting an item in stack is termed as push and taking an item out from stack I s termed as pop. Stack pointer is the pointer that points to the top of the stack or that points the item at the top of the stack and help in adding or deleting the item from the top of stack.


How is the stack and stack pointer work?

A stack is a data structure in which last item inserted is taken out first . That's why they are known as LIFO (last in first out). Inserting an item in stack is termed as push and taking an item out from stack I s termed as pop. Stack pointer is the pointer that points to the top of the stack or that points the item at the top of the stack and help in adding or deleting the item from the top of stack.