what is the advantage of function pointer

Answer Posted / prakash

Function pointers are very useful to send the function as a
parameter to the another function.so,execution time will be
saved.code complexity will be redused

Is This Answer Correct ?    42 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which built-in library function can be used to match a patter from the string?

728


What is a char in c?

540


What are different storage class specifiers in c?

602


What is a lvalue

646


What is a node in c?

534






Why c is called a middle level language?

622


What are the standard predefined macros?

621


Read the following data in two different files File A: aaaaaaaadddddddd bbbbbbbbeeeeeeee ccccccccffffffff File B: 11111111 22222222 33333333 By using the above files print the following output or write it in the Other file as follows aaaaaaaa11111111dddddddd bbbbbbbb22222222eeeeeeee cccccccc33333333ffffffffffff

2229


What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?

923


If errno contains a nonzero number, is there an error?

781


What are the different types of control structures?

570


can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......

1395


Place the #include statement must be written in the program?

555


stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.

1834


Explain how can I convert a string to a number?

622