Answer Posted / preeti singh
A function pointer is a type of pointer that points to a
function, for e.g. a pointer to the function :
int fun(int a,int b)
can be declared as :
int(*myptr)(int a,int b);
here myptr is a type of pointer which can point to any
function which takes two integer arguments and returns int.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is declaration and definition in c?
A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers
write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...
What is malloc and calloc?
What does. int *x[](); means ?
What are the advantages of the functions?
largest Of three Number using without if condition?
What do you mean by dynamic memory allocation in c?
What are inbuilt functions in c?
Are there any problems with performing mathematical operations on different variable types?
What is the newline escape sequence?
write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.
What are the header files used in c language?
develop algorithms to add polynomials (i) in one variable
What are unions in c?