#define and typedef

R

ramu

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

Regards
 
R

Robert Gamble

ramu said:
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
 
J

Jaspreet

ramu said:
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.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

#define IDLE_WORK() { ; } 2
Help with #define 0
#define vs typedef 0
Please explain: #define MOVE 0x05 1
define versus typedef 10
Ways to define C constants 46
typedef vs #define 3
typedef vs. #define 7

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,045
Latest member
DRCM

Latest Threads

Top