A
Q. What is the output of the following C++ program?
Code:
#include <iostream>
using namespace std;
int main ( )
{
static double i;
i = 15;
cout << sizeof(i);
return 0;
}
using namespace std;
int main ( )
{
static double i;
i = 15;
cout << sizeof(i);
return 0;
}
- Correct Answer - Option(C)
- Views: 23
- Filed under category C++
- Hashtags:
Discusssion
Login to discuss.