-
What is the output of this program?
#include
using namespace std;
int main()
{
typedef int number;
number P = 25, Q = 12;
number R = P + Q + P - Q;
cout << R;
return 0;
}
-
- 25
- 12
- 50
- Compilation Error
- None of these
Correct Option: C
In this program, we are manipulating the numbers and printing the result using user-defined data types.