typedef in C || Lesson 76 || C Programming || Learning Monkey ||

Поділитися
Вставка
  • Опубліковано 23 лип 2021
  • typedef in C
    In this class, we will try to understand typedef in C.
    We have seen how to declare a structure tag in our previous class.
    typedef in C
    The image is the use of a structure tag and the declaration of variables for those structures.
    In the above declaration, we use the keyword struct for all the variable declarations.
    In C, we have a provision to define the data types, which the typedef can do.
    The typedef is used to create an additional name for the existing data type but does not create a new type.
    For example, we want to create a new definition for int data type as an integer.
    The image below shows how to create the type definitions.
    We can now use Integer for our variable declaration instead of int, as shown below.
    typedef in C Example on int datatype
    The use of typedef is frequently used for structures.
    The declaration of the student structure with typedef is as shown below.
    Now in the variable declaration, we can avoid the use of struct student as shown below.
    #learningmonkey #cprogrammingforbeginners #placements #gatecse #cprogramming #cprogramminglanguage
    Link for playlists:
    / @learningmonkey
    Link for our website: learningmonkey.in
    Follow us on Facebook @ / learningmonkey
    Follow us on Instagram @ / learningmonkey1
    Follow us on Twitter @ / _learningmonkey
    Mail us @ learningmonkey01@gmail.com

КОМЕНТАРІ • 8

  • @lamu.lakshmipriyanka6602
    @lamu.lakshmipriyanka6602 2 роки тому +1

    Thanks for ur valuable explanation sir❤️

  • @kundankumar-ll8in
    @kundankumar-ll8in 3 роки тому

    sir you have left the FSM part in digital. are you going to make video on that topic?

    • @LearningMonkey
      @LearningMonkey  3 роки тому +1

      FSM is not there in CSE course

    • @kundankumar-ll8in
      @kundankumar-ll8in 3 роки тому +1

      @@LearningMonkey yes i know. But this sir was teaching there. And this one his latest video so i thought he can see it easily.

    • @LearningMonkey
      @LearningMonkey  3 роки тому

      It will take some time

    • @diptislenka7861
      @diptislenka7861 2 роки тому

      Yes sir pls make the vdo for FSM chapter pls sir 🙏

  • @_ishthetic_27
    @_ishthetic_27 3 місяці тому +1

    not comma but cama 🤣🤣🤣🤣

  • @Logicalpicytshort
    @Logicalpicytshort 11 місяців тому

    Sir Hindi me explain kar diya kro