answersLogoWhite

0

float *(*funptr)(int *);

float *fun (int *);

funptr= fun;

User Avatar

Wiki User

13y ago

What else can I help you with?

Continue Learning about Engineering
Related Questions

How will you declare an array of three functions pointer where each function receives two ints and returns a float?

typedef float (*pt_func)(int, int); pt_func arr[3];another way:float (*pt_func[3])(int, int);


How will you declare an array of three function pointers where each function receives two int and returns float?

typedef float (*pt_func)(int, int); pt_func arr[3];another way:float (*pt_func[3])(int, int);


Which of the correct way of declaring the float pointer?

float *pointer;


How do you Write a value returning function using c programming that receives two floating point numbers and returns true if the first formal parameter is greater than the second.?

bool isBigger (float a, float b) { return a > b;}


How do you declare a pointer variable in c?

int* pint; // instantiate a pointer to an int. float* pflt; // instantiate a pointer to a float.


Is void a data type in c?

what is void data type Void is an empty data type normally used as a return type in C/C++, C#, Java functions/methods to declare that no value will be return by the function. The another use of void is to declare the pointer in C/C++ whe It is not sure that what data type will be addressed by the pointer. eg: void *p; Here p can hold the address of int or float or char or long int or double.


Write a function prototype named test that accepts two parameters an integer and character and returns a float?

float test(int, char);


Why you use float pointer instead of integer pointer?

It depends on what type of data you wish to manipulate.


How do you invoke function result () takes two float argument and returns an integer in c plus plus program?

You can do this by creating a forwarddeclaration of the function. You can call the forward drclared function inside the main to use it.int result(float num1, float num2);intmain(void){int value = result(3.14, 2.74);return (0);}intresult(float num1, float num2){int value = 0;// function codes goes here// you can alter the value of variable 'value'return (value);}The returning value of the 'result()' function is assigned to variable 'value' in 'main()'.


What is the by default value of globally declaration variable?

int, float: 0 pointer: NULL


How do you declare a function to return long float?

long float myfun();


How many type of pointer in c?

A pointer is a pointer to something else. One way to look at it is that there is only one pointer type - an address to something else. Another way to look at it is to see how many different types there are, such as int, char, float, struct, double, etc. and to realize that you can build a pointer to any of them, as well as a pointer to a pointer to any of them, etc., etc., etc. Bottom line, is there are an unlimited number of types of pointers.