• Skip to main content
  • Skip to footer

SoftwareProg.com

Software programming learning aide

  • Blog
    • Discussion
  • News
  • CS50’s Introduction to Computer Science by Harvard University on Edx
    • Week 1
    • Week 2
    • Week 3
    • Week 4
    • Week 5

Struct and typedef: Is typedef not mandatory for creating user-defined datatype?

CS50 threads to aide as a supplementary resource › Forums › CS50’s Introduction to Computer Science by Harvard University on Edx › Week 3 › Struct and typedef: Is typedef not mandatory for creating user-defined datatype?

Tagged: Plurality CS50, struct in c, typedef in c

  • This topic is empty.
Log In Register Lost Password
Viewing 1 post (of 1 total)
  • Author
    Posts
  • October 20, 2022 at 8:29 am #909
    admin
    Keymaster

      For creating user-defined datatype for candidate (Plurality project), it will help to know if the same can be done with struct alone or using both struct and typedef needed. Is it that typedef can be avoided but usage of typedef will further add efficiency to the code?

      Any link in week 3 that discusses struct/typedef?


      Reply


      https://edstem.org/us/courses/176/discussion/1993995?answer=4561974[learn_press_profile]

    • Author
      Posts
    Log In Register Lost Password
    Viewing 1 post (of 1 total)
    • You must be logged in to reply to this topic.
    Log In

    Log in / Register

    Initiative by Digital Splendid OPC Pvt. Ltd.