Find Size Of Various Data Types
The size of each variable is find using sizeof operator. #include <iostream> using namespace std; int main() { cout << “Size of char: ” << sizeof(char) << ” byte” << endl; cout << “Size of int: ” << sizeof(int) << ” bytes” << endl; cout… Read More »Find Size Of Various Data Types