1.

What would be the output of the following program (in 32-bit systems)?
#include 
using namespace std;
int main()
{
cout << sizeof(char);
cout << " "<< sizeof(int);
cout << " "<< sizeof(float);
return 0;
}

A. 1 4 4
B. 4 4 1
C. 4 1 4
D. Garbage value
E. None of these
Answer» B. 4 4 1


Discussion

No Comment Found

Related MCQs