1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

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,276
    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