S
Q. What is the output of the following program?
Code:
#include
using namespace std;
int main()
{
int n = 0x10 + 030 + 50;
cout << sizeof(n)<<'\n';
return 0;
}
using namespace std;
int main()
{
int n = 0x10 + 030 + 50;
cout << sizeof(n)<<'\n';
return 0;
}
- Correct Answer - Option(D)
- Views: 150
- Filed under category C++
Discusssion
Login to discuss.