Function pointers and callbacks @mycodeschool
Function pointers and callbacks  @mycodeschool
Uploaded September 2013 | Updated September 2026, 2 weeks ago
See complete series on pointers here http://www.youtube.com/playlist?list=...

In this lesson, we have explained use cases of function pointer through code examples. In previous video, we had explained basics of function pointers.

See Bubble sort video here:
youtube.com/watch?v=Jdtq5uKz-w4&list=PL2_aWCzGMAwKedT2KfDMB9YA5DgASZb3U&index=3

About event handling - You can think of a scenario where if something happens in a user interface, you want to perform some action. For example, upon a mouse click, you want to call some function. Many libraries give you a design where you can register a callback function to be called upon an event (like a mouse click). Library function will callback this function that you would register whenever the event occurs. Basically library function will call all functions registered for the event (stored in some list).

See this Wikipedia article to know about events: en.wikipedia.org/wiki/Event_(computing)

For practice problems and more, visit: mycodeschool.com

Like us on Facebook: facebook.com/MyCodeSchool

Follow us on twitter: twitter.com/mycodeschool
Function pointers and callbacksSearch element in a circular sorted arrayCharacter arrays and pointers - part 2Linked List - Implementation in C/C++Infix to Postfix using stackUsing Arithmetic Operators - C Programming Tutorial 07Exponentiation - Calculate Pow(x,n) using recursionDynamic memory allocation in C - malloc calloc realloc freeInput and Output:  Printf and Scanf - C Programming Tutorial 06Basics of computers memory and Getting started: C Programming Tutorial 02Check if a binary tree is binary search tree or notFunction Pointers in C / C++
mycodeschool |

Function pointers and callbacks

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER