C Preprocessor Question:
Download Job Interview Questions and Answers PDF
What is typedf?
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.
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 Question | Next Question |
What is the mean of function? | What is a macro in C Preprocessor? |