How to implement call back functions ?

Answer Posted / priya

In computer programming, a callback is executable code that is passed as an argument to other code
Function Pointers provide the concept of callback functions.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the need of structure in c?

572


What is the purpose of main( ) in c language?

630


How can I find out the size of a file, prior to reading it in?

631


What is static and auto variables in c?

571


What is the stack in c?

726






Why is this loop always executing once?

621


What is the difference between int main and void main?

580


The purpose of this exercise is to benchmark file writing and reading speed. This exercise is divided into two parts. a). Write a file character by character such that the total file size becomes approximately >10K. After writing close the file handler, open a new stream and read the file character by character. Record both times. Execute this exercise at least 4 times b). Create a buffer capable of storing 100 characters. Now after generating the characters, first store them in the buffer. Once the buffer is filled up, store all the elements in the file. Repeat the process until the total file size becomes approximately >10K.While reading read a while line, store it in buffer and once buffer gets filled up, display the whole buffer. Repeat the exercise at least 4 times with different size of buffer (50, 100, 150 …). Records the times. c). Do an analysis of the differences in times and submit it in class.

1639


What are the salient features of c languages?

629


What is the function of this pointer?

683


In c programming, explain how do you insert quote characters (? And ?) Into the output screen?

770


How can you pass an array to a function by value?

611


What are header files in c programming?

660


Why c is a procedural language?

589


How do I use strcmp?

647