How do you initialize function pointers? Give an example?
Answer Posted / vadivel t
Sorry the above function pointer declaration should be like
this
(*pfunc)(int, int);
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
write a c program in such a way that if we enter the today date the output should be next day's date.
Can we access array using pointer in c language?
What is a rvalue?
Differentiate between #include<...> and #include '...'
What are actual arguments?
What is the difference between struct and union in C?
Describe how arrays can be passed to a user defined function
What is declaration and definition in c?
Why shouldn’t I start variable names with underscores?
A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream
What is wrong with this initialization?
What is the modulus operator?
What is a pragma?
What is the general form of function in c?
What are the different types of linkage exist in c?