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