Typedef in C MCQs Exercise I


Ques 1 Typedef


Can we use typedef with pointer ?
  a) Yes
  b) No
  c) N/A
  d) N/A


a is the correct option

Yes, you can use typedef with pointers in C and C++. It's a valid and versatile tool for improving code clarity and maintainability in various scenarios. However, it's crucial to use it judiciously and consider potential trade-offs.