single variable stack

Newbie Member
31Aug2008,09:22   #1
sumesh.1988's Avatar
hi friends,
Can u tell me how a C code cane written using single pointer variable.
void *ptr;
void main()
{
}
push()
{
}
pop()
{
}
isempty()
{
}
Go4Expert Founder
31Aug2008,09:59   #2
shabbir's Avatar
Can you please clarify what you are looking for because having the variables depends on what you are trying to write and nothing that corresponds to any syntactical error for not having a pointer.