How to implement call back functions ?

Answers were Sorted based on User's Feedback



How to implement call back functions ?..

Answer / singamsa

thru function pointer approach

Is This Answer Correct ?    6 Yes 0 No

How to implement call back functions ?..

Answer / 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

How to implement call back functions ?..

Answer / ravikumar

pointer provide the call back function by using arguments

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

What is echo in c programming?

0 Answers  


logic for x=y^n

1 Answers   Delphi,


1. Can we use the for loop this way? for(;i>5;) 2. What is the use of pointers? 3. what is array of pointer? 4. What is the difference between file and database? 5. Define data structure?

1 Answers  


How to create struct variables?

0 Answers  


program to locate string with in a string with using strstr function

2 Answers   Huawei, Shreyas,






write a C program to print the program itself ?!

16 Answers   TCS,


how to find the binary of a number?

10 Answers   Infosys,


how is the examination pattern?

0 Answers   Wipro,


Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.

0 Answers   Convergys,


Look at the Code: main() { int a[]={1,2,3},i; for(i=0;i<3;i++) { printf("%d",*a); a++; } } Which Statement is/are True w.r.t the above code? I.Executes Successfully & Prints the contents of the array II.Gives the Error:Lvalue Required III.The address of the array should not be changed IV.None of the Above. A)Only I B)Only II C)II & III D)IV

5 Answers   Accenture,


int zap(int n) { if(n<=1)then zap=1; else zap=zap(n-3)+zap(n-1); } then the call zap(6) gives the values of zap [a] 8 [b] 9 [c] 6 [d] 12 [e] 15

10 Answers   Wipro,


Explain what?s happening in the first constructor: public class c{ public c(string a) : this() {;}; public c() {;} } How is this construct useful?

1 Answers  


Categories