What will be the output of the following C++ code (in 32-bit systems)?
Posted: Wed Jul 13, 2022 7:51 pm
#include <iostream> using namespace std; int main() { cout << sizeof(char); cout << sizeof(int); cout << sizeof(float); return 0; }
a) 1 4 4
b) 1 4 8
c) 1 8 8
d) 1 8 2
a) 1 4 4
b) 1 4 8
c) 1 8 8
d) 1 8 2