← Back to Question List
C++ Code Walkthrough #42
Sizes of Fundamental Types
📄 Code
Read carefully — what does this print?1#include <iostream>2using namespace std;3int main() {4 cout << sizeof(int) << " " << sizeof(char) << " " << sizeof(double) << endl;5 return 0;6}