Question: What would be the output of the following code? #include int mysteryFunction 1 ( int a , int b ) ; int mysteryFunction 2 (
What would be the output of the following code?
#include
int mysteryFunctionint a int b;
int mysteryFunctionint a;
int main
pointer to a function
int functionPtrint int &mysteryFunction;
int functionPtrint &mysteryFunction;
printfdfunctionPtr;
return ;
int mysteryFunctionint a int b
return a b;
int mysteryFunctionint a
return a a;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
