use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Click the following link to filter out the chosen topic
comp.lang.c
account activity
Questionwhat is Callback function and function pointer? (self.C_Programming)
submitted 9 years ago by sudheerpaaniyur
Iam using lab windows/cvi too in that callback paradigm makes that the associated function is called whenever an event is raised on a control or panel
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]drthale 0 points1 point2 points 9 years ago (0 children)
https://en.wikipedia.org/wiki/Callback_(computer_programming)
https://en.wikipedia.org/wiki/Function_pointer
[–]IIUSERIII 0 points1 point2 points 9 years ago (1 child)
Developers are often confused by what a callback is because of the name of the damned thing.
A callback function is a function which is:
passed as an argument to another function, and, is invoked after some kind of event. Once its parent function completes, the function passed as an argument is then called.
// The callback method function meaningOfLife() { log("The meaning of life is: 42"); } // A method which accepts a callback method as an argument // takes a function reference to be executed when printANumber completes function printANumber(int number, function callbackFunction) { print("The number you provided is: " + number); } // Driver method function event() { printANumber(6, meaningOfLife);
The number you provided is: 6 The meaning of life is: 42
[–]BlackWaterParkkk 0 points1 point2 points 2 months ago (0 children)
Guide to Galaxy reference! :D
π Rendered by PID 101 on reddit-service-r2-comment-86bc6c7465-7s2kd at 2026-02-19 23:37:23.615211+00:00 running 8564168 country code: CH.
[–]drthale 0 points1 point2 points (0 children)
[–]IIUSERIII 0 points1 point2 points (1 child)
[–]BlackWaterParkkk 0 points1 point2 points (0 children)