How do I initialize a pointer to a function?

Answer Posted / k.thejonath

void (*)f();
Here f if is pointer to a function having no arguments and
no return values.

Is This Answer Correct ?    7 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the 4 types of functions?

665


What is meant by inheritance?

725


What is calloc() function?

722


What is use of integral promotions in c?

760


In a switch statement, what will happen if a break statement is omitted?

700






How do you determine the length of a string value that was stored in a variable?

742


Why is void main used?

700


Explain what does the format %10.2 mean when included in a printf statement?

934


Can the curly brackets { } be used to enclose a single line of code?

802


What are logical errors and how does it differ from syntax errors?

753


Explain the difference between call by value and call by reference in c language?

753


Is python a c language?

651


What is the use of function overloading in C?

778


Explain argument and its types.

701


What is the difference between array_name and &array_name?

864