What is typedef in C explain with example?

typedef is used to define new data type names to make a program more readable to the programmer . For example: | main() | main() { | { int money; | typedef int Pounds; money = 2; | Pounds money = 2 } | } These examples are EXACTLY the same to the compiler.

Sizin İçin Seçtik  Why have an empty constructor C#?

Leave a Reply

Your email address will not be published. Required fields are marked *