What is the output of this program ? #include <br /> using namespace std;<br /> int n(char, int);<br /> int (*p) (char, int) = n;<br /> int main()<br /> {<br /> (*p)('d', 9);<br /> p(10, 9);<br /> return 0;<br /> }<br /> int n(char c, int i)<br /> {<br /> cout << c << i;<br /> return 0;<br /> }
Correct Answer: d99
In this program, we have declared the values as integer instead of character, So it is printing as d99 but it will not arise an error.