#define and typedef

Discussion in 'C Programming' started by ramu, Jan 18, 2006.

  1. ramu

    ramu Guest

    Hi,
    What are the differences between #define and typedef? under what
    situations we use them?

    Regards
     
    ramu, Jan 18, 2006
    #1
    1. Advertising

  2. ramu wrote:
    > Hi,
    > What are the differences between #define and typedef? under what
    > situations we use them?


    Why don't you try opening your textbook? Did you check the FAQ?

    Robert Gamble
     
    Robert Gamble, Jan 18, 2006
    #2
    1. Advertising

  3. ramu

    Jaspreet Guest

    ramu wrote:
    > Hi,
    > What are the differences between #define and typedef? under what
    > situations we use them?
    >
    > Regards


    Please go through the FAQs or better first read a textbook.
     
    Jaspreet, Jan 18, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. O Plameras
    Replies:
    10
    Views:
    562
    Keith Thompson
    Dec 19, 2005
  2. robin liu
    Replies:
    3
    Views:
    865
    Robin Liu
    Apr 21, 2006
  3. Replies:
    13
    Views:
    611
    Dietmar Schindler
    Feb 12, 2007
  4. vivek

    typedef and #define

    vivek, Mar 4, 2008, in forum: C Programming
    Replies:
    21
    Views:
    692
    Gerry Ford
    Mar 6, 2008
  5. oor
    Replies:
    0
    Views:
    1,415
Loading...

Share This Page