Question: Question 3 1 pts Which is a correct declaration of a function pointer, that points to a function that takes in 1 float and returns

 Question 3 1 pts Which is a correct declaration of a

Question 3 1 pts Which is a correct declaration of a function pointer, that points to a function that takes in 1 float and returns an integer? int (*some FuncPtr) (float value); int* someFuncPtr (float value); float (*someFuncPtr) (int value); float * someFuncPtr(int value); int someFuncPtr(int* value); Question 4 1 pts What is the output of the following code segment? int number = 3; int *numberPtr = NULL; if (number > 0) numberPtr = &number; if (numberPtr && *numberPtr > 4) printf("The number is %d", *numberPtr); else if (numberPtr) printf("The number is %d", (*numberPtr) * 2); The number is 6 The number is 3 O no output The number is *numberPtr The number is %d

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!