1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

single variable stack

Discussion in 'C' started by sumesh.1988, Aug 31, 2008.

  1. sumesh.1988

    sumesh.1988 New Member

    Joined:
    Aug 27, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    hi friends,
    Can u tell me how a C code cane written using single pointer variable.
    void *ptr;
    void main()
    {
    }
    push()
    {
    }
    pop()
    {
    }
    isempty()
    {
    }
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,283
    Likes Received:
    364
    Trophy Points:
    83
    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.
     

Share This Page