What is the main limitation of using typedef to create an alias for a data type?

  • It adds flexibility to data types
  • It can lead to confusion with multiple typedefs
  • It enforces strong data typing
  • It increases code readability
The main limitation of using typedef to create an alias is that it can lead to confusion when multiple typedefs are used for the same base type.
Add your answer
Loading...

Leave a comment

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