C Programming - Typedef - Discussion

Discussion Forum : Typedef - General Questions (Q.No. 1)
1.
In the following code, the P2 is Integer Pointer or Integer?
typedef int *ptr;
ptr p1, p2;
Integer
Integer pointer
Error in declaration
None of above
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
36 comments Page 4 of 4.

Dharshini said:   1 decade ago
Give difference between #define and typedef?

Ashok said:   10 years ago
I can't understand the typedef operation?

Jethalal said:   5 years ago
@Ruhi, Yes I also have the same doubt.

Sai said:   1 decade ago
Excellent martin. Good observation.

Aravind said:   1 decade ago
What reason we can use typedef ?

Ganesh said:   9 years ago
What is type def?


Post your comments here:

Your comments will be displayed after verification.