what is the advantage of function pointer

Answer Posted / nupur

It is used to return more than one value to at a time to
the main program thus overcome the limitation of returnalso
it is used to change the value of the actual argument in
the called function which is otherwise not possible.

Is This Answer Correct ?    13 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

while initialization of array why we use a[][2] why not a[2][]...?

1857


Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?

653


Why is c so important?

590


c language supports bitwise operations, why a) 'c' language is system oriented b) 'c' language is problem oriented c) 'c' language is middle level language d) all the above

606


Is there sort function in c?

572






What is the argument of a function in c?

567


What is getche() function?

601


What are the string functions? List some string functions available in c.

596


What are void pointers in c?

572


What does %d do?

708


write a program to create a sparse matrix using dynamic memory allocation.

4369


What are the general description for loop statement and available loop types in c?

678


process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,

1882


write a program to display all prime numbers

1450


Explain how many levels deep can include files be nested?

622