Structs and typedef in C STEP by STEP - C Programming Course (28)

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024
  • Structs or structures in C are variables related under the same name. These variables can be of different types, unlike the arrays in which its elements must be of the same type.
    In this way, through structs or structures in C, we can represent a record.
    Today I tell you what they are, how structs are implemented in the C programming language, besides their relationship with typedef and the usefulness of pointers to structs.
    The content:
    00:03 - What is struct in C
    00:40 - Syntax of struct in C
    02:10 - How to declare and initialize a struct
    02:40 - Difference between char array and pointer to char
    07:17 - What is a designated initializer in C
    07:49 - Structure within a structure
    10:52 - Pointer to struct or how to work with pointers to structs
    15:50 - Typedef for structs
    Watch all the videos of the C course: • Aprende a programar 📙 ...
    See the C course repository: github.com/dfb...
    Facebook: goo.gl/HDLFyn
    Twitter: goo.gl/pcFziM
    #LearnProgramming #CourseOfCProgramming

Комментарии •