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
Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......
What is the difference between a function and a method in c?
How can I find out if there are characters available for reading?
What is actual argument?
Is fortran still used today?
What is difference between structure and union?
What are keywords c?
What is 1d array in c?
Write a c program to demonstrate character and string constants?
What does typedef struct mean?
Why c is known as a mother language?
a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none
What is meant by errors and debugging?
"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above
Explain the use of function toupper() with and example code?