- This topic is empty.
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.
IT, Programming, & Web Development › Forums › CS50’s Introduction to Computer Science by Harvard University on Edx › Week 3: [Algorithms] – Linear Search, Binary Search, Bubble Sort, Selection Sort, Recursion, Merge Sort › Struct and typedef: Is typedef not mandatory for creating user-defined datatype?
Tagged: Plurality CS50, struct in c, typedef in c
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]