This void (*anjula[])(int, float) is:
Question
This void (*anjula[])(int, float) is:
Solution 1
The given statement void (*anjula[])(int, float) is a declaration in C or C++ language. Here's a step-by-step breakdown:
-
void: This is the return type of the function. It means the function does not return any value. -
(*anjula[]): This is an array of pointers to functions. The name of the array isanjula. -
(int, float): These are the parameters of the functions that the pointers in the arrayanjulapoint to. Each function takes two arguments: an integer and a float.
So, in summary, void (*anjula[])(int, float) is an array of pointers to functions, where each function takes an integer and a float as arguments and does not return any value.
Solution 2
The statement void (*anjula[])(int, float) in C or C++ is a declaration of an array of function pointers. Here's a step-by-step breakdown:
-
void: This is the return type of the function. It means the function does not return any value. -
(*anjula[]): This is an array of pointers. The asterisk (*) indicates that it's a pointer. The empty square brackets ([]) indicate that it's an array. The name of the array isanjula. -
(int, float): These are the parameters of the function. It means the function takes two arguments: an integer and a float.
So, void (*anjula[])(int, float) is an array of pointers to functions that take an integer and a float as arguments and do not return any value.
Similar Questions
This void (*anjula[])(int, float) is:A pointer to a function that takes an int and a float as parameters and returns nothingAn array of pointers to functions that take an int and a float as parameters and returns nothingA pointer to a function that takes an array of int and float as a parameter and returns nothingA pointer to a function that takes an int and a float as parameters and returns an empty arrayA pointer to an array of functions that take an int and a float as parameters and returns nothingI don't knowSubmit
What does void key word indicated in C function declaration?Question 3Answera.Integer returnb.Empty return typec.String returnd.Floating-point returnClear my choice
What is (void*)0?Select one:a.Representation of NULL pointerb.Representation of void pointerc.Errord.None of above
What is the return type of destruction? Int Float Void No return types
o store the address of this function:void neyo(void);to the variable f of type pointer to a function that does not take any argument and does not return anything, you would do (check all correct answers if there is more than one):*f = neyo;*f = &neyo;f = &neyo;f = neyo;
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.