Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   single variable stack (http://www.go4expert.com/forums/single-variable-stack-t13447/)

sumesh.1988 31Aug2008 09:22

single variable stack
 
hi friends,
Can u tell me how a C code cane written using single pointer variable.
void *ptr;
void main()
{
}
push()
{
}
pop()
{
}
isempty()
{
}

shabbir 31Aug2008 09:59

Re: single variable stack
 
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.


All times are GMT +5.5. The time now is 05:47.