What is function pointer and where we will use it
Answer Posted / bsreddi
A function pointer is a type of pointer in C, C++ and other
C-like programming languages. When dereferenced, a function
pointer invokes a function, passing it zero or more
arguments just like a normal function. In programming
languages like C, function pointers can be used to simplify
code, such as replacing large switch statements.
Is This Answer Correct ? | 5 Yes | 5 No |
Post New Answer View All Answers
What is the scope of static variables in c language?
A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference
What are header files and what are its uses in C programming?
What is pass by reference in functions?
Why is it that not all header files are declared in every C program?
Explain the use of fflush() function?
Explain what are compound statements?
hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .
Write a program to print ASCII code for a given digit.
What will be the outcome of the following conditional statement if the value of variable s is 10?
What is queue in c?
how to write a c program to print list of fruits in alpabetical order?
What is the difference between struct and typedef struct in c?
What are the different types of data structures in c?
What is the use of header?