what is the advantage of function pointer

Answer Posted / yogesh

It is useful when you want to send function as argument to
another function.

Is This Answer Correct ?    139 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers

669


What are the salient features of c languages?

616


What do the functions atoi(), itoa() and gcvt() do?

720


Difference between MAC vs. IP Addressing

632


Explain how can you check to see whether a symbol is defined?

655






What are the advantages and disadvantages of c language?

552


Write a Program to find whether the given number or string is palindrome.

607


What are the standard predefined macros?

627


What is the process to generate random numbers in c programming language?

602


I have a varargs function which accepts a float parameter?

569


If one class contains another class as a member, in what order are the two class constructors called a) Constructor for the member class is called first b) Constructor for the member class is called second c) Only one of the constructors is called d) all of the above

615


Where static variables are stored in c?

581


How can you find the exact size of a data type in c?

592


how to print electricity bill according to following charges first 100 units -1rs per unit for next 200 units-1.50 rs per unit without using conditions

2715


What is array in C

699