What is Function Pointer? Explain with example?

Answer Posted / mahi

pointer is a variable witch can strore address of another
variable

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

a function gets called when the function name is followed by a a) semicolon (;) b) period(.) c) ! d) none of the above

1159


a way in which a pointer stores the address of a pointer which stores the value of the target value a) reference b) allocation c) multiple indirection d) none

900


Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result

1709


Why isnt any of this standardized in c?

864


How can you invoke another program from within a C program?

844


What is c mainly used for?

840


What do you mean by scope of a variable in c?

790


Explain what is the benefit of using #define to declare a constant?

829


Is there anything like an ifdef for typedefs?

921


Can we add pointers together?

842


is it possible to create your own header files?

859


What are the two types of structure?

844


Do you know the difference between malloc() and calloc() function?

842


Write the syntax and purpose of a switch statement in C.

877


What is string concatenation in c?

800