5.02 The C programming language: an easy peasy intro to function pointers

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ก.ย. 2024
  • 🇮🇹🍕🍝Canale Italiano - / @onaeco_ita
    . The full mini course video will be on freeCodeCamp
    CODE REPO
    github.com/sus... .
    typedef struct 🔗s_links🔗
    {
    👨🏻‍🏫 Udemy course for total beginners, pre_knowledge before C (Overflow, 2’s complement, BASH, VIM…) - www.udemy.com/...
    📑 Notion community page (FREE coding sources) - suspectedocean...
    🧾 Medium (code articles) - / jalal92
    📲 Telegram group - t.me/suspected...
    💻 GitHub - github.com/sus...
    🛸 Discord - / discord
    🐦 Twitter - / suspectedoceano
    ☕️ ChannelSupport - www.buymeacoff... (if you read this, you are already supporting, TY!)
    } 🔗t_links🔗

ความคิดเห็น • 11

  • @mahadeolokhande2996
    @mahadeolokhande2996 8 หลายเดือนก่อน

    Tnq u sir

  • @soniablanche5672
    @soniablanche5672 8 หลายเดือนก่อน

    it seems that function pointers are smaller than other pointers

  • @xstanley
    @xstanley 11 หลายเดือนก่อน

    As I want the address of foo, I used the address-of operator before foo: printf("%p %p", &foo, &nb). Why does it work also without it, as shown in your video?

    • @onaecO
      @onaecO  11 หลายเดือนก่อน

      The & on a function name is redundant, when you use it with no ( ), it is implicitly understood by the compiler you just want the address to that function. Arguably though it is better to use an & anyway, for readability, up to your style 😁

  • @mecanicoder0
    @mecanicoder0 ปีที่แล้ว

    Please can you make a video explain us malloc function

    • @onaecO
      @onaecO  ปีที่แล้ว

      Yeah sure, btw there is a top channel
      ~th-cam.com/video/yFboyOwk2oM/w-d-xo.html
      You can give it a check

    • @mecanicoder0
      @mecanicoder0 ปีที่แล้ว

      @@onaecO we understand why you dont upload videos coz u have only 2 days in bh ..😣

    • @onaecO
      @onaecO  ปีที่แล้ว

      @@mecanicoder0 Work-Life unbalance kicked in my friend 🤣

    • @mecanicoder0
      @mecanicoder0 ปีที่แล้ว

      @@onaecO but how 😦 , bro i guess you ve moroccan genes hahaha

    • @onaecO
      @onaecO  ปีที่แล้ว +1

      @@mecanicoder0 Next week i’ll restart with yt, even if my maroccan genes want only to chill 😁