C Preprocessor Question:

Download Job Interview Questions and Answers PDF

What is typedf?

C Preprocessor Interview Question
C Preprocessor Interview Question

Answer:

The typedef clause can be used in a similar manner.
typedef long int int32; /* 32 bit signed integer */
The typedef is preferred over the #define because is better integrated into the C language, and it can create more kinds of variable types than a mere define.

Download C Preprocessor Interview Questions And Answers PDF

Previous QuestionNext Question
What is the mean of function?What is a macro in C Preprocessor?