A
Q. What is the output of the following program?
Code:
#include
using namespace std;
int main()
{
int p = 10;
float q;
cout << sizeof(++p + q);
cout << " "< return 0;
}
using namespace std;
int main()
{
int p = 10;
float q;
cout << sizeof(++p + q);
cout << " "< return 0;
}
- Correct Answer - Option(D)
- Views: 31
- Filed under category C++
- Hashtags:
Discusssion
Login to discuss.