How will you declare an array of three function pointers where each function receives two ints and returns a float?
Answer / Mithilesh Prasad
"To declare an array of three function pointers, each taking two int arguments and returning a float, use the following syntax: `float (*arr[3])(int, int);`. To assign functions to this array, you would need to define your functions with the appropriate signature first."
| Is This Answer Correct ? | 0 Yes | 0 No |
what value is returned to operating system after program execution?
nic scientist exam
write c program without semicolon
11 Answers MindTech, TCS, Wipro,
what is the difference between exit() and _exit() functions?
What is an arrays?
What are the 5 types of inheritance in c ++?
in b=6.6/a+(2*a+(3*c)/a*d)/(2/n); which operation will be performed first a) 6.6/a b) 2*a c) 3*c d) 2/n
Should a function contain a return statement if it does not return a value?
Write a C++ program to give the number of days in each month according to what the user entered. example: the user enters June the program must count number of days from January up to June
main() { int i; printf("%d",i^i); }
What is the use of pointers in C?
1 Answers akamai, Impetus, Motorola, Tavant Technologies, Virtusa,
What do you understand by normalization of pointers?