-
What is the output of this program?
#include
using namespace std;
int function(int n, int m)
{
cout << n;
cout << m;
return 0;
}
int main(void)
{
int(*p)(char, int);
p = function;
function(11, 10);
p(12, 13);
return 0;
}
-
- 11
- 10
- 12
- 13
- Compilation Error
Correct Option: E
In this program, we can’t do the casting from char to int, So it is raising an error.