Should I use typedef in C?

It can almost be necessary when dealing with templates that require multiple and/or variable parameters. The typedef helps keep the naming straight. Not so in the C programming language. The use of typedef most often serves no purpose but to obfuscate the data structure usage .

Sizin İçin Seçtik  İhtiyaç neye yarar?

Leave a Reply

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