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🔗
Tnq u sir
it seems that function pointers are smaller than other pointers
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?
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 😁
Please can you make a video explain us malloc function
Yeah sure, btw there is a top channel
~th-cam.com/video/yFboyOwk2oM/w-d-xo.html
You can give it a check
@@onaecO we understand why you dont upload videos coz u have only 2 days in bh ..😣
@@mecanicoder0 Work-Life unbalance kicked in my friend 🤣
@@onaecO but how 😦 , bro i guess you ve moroccan genes hahaha
@@mecanicoder0 Next week i’ll restart with yt, even if my maroccan genes want only to chill 😁