Project/app_code/stack.c
ElementType* Top(Stack s)
{
	if(IsEmpty(s))
	{
		puts("stack is empty");
		return 0;
	}
	return s->Next->Element;
}
//TOP OPERATION THAT RETURNS POINTER TO A STRING.
TOP OPERATION THAT RETURNS POINTER TO A STRING.
TOP OPERATION THAT RETURNS POINTER TO A STRING .
ElementType* Top(Stack s)
{
	if(IsEmpty(s))
	{
		puts("stack is empty");
		return 0;
	}
	return s->Next->Element;
}
ElementType * Top ( Stack s ) { if ( IsEmpty ( s ) ) { puts ( " " ) ; return 0 ; } return s -> Next -> Element ; }
TOP OPERATION THAT RETURNS POINTER TO A STRING.
TOP OPERATION THAT RETURNS POINTER TO A STRING .