From 80dc84a86049cb46ae03b58196cc8574aae02d8b Mon Sep 17 00:00:00 2001 From: Jae1015 <31164185+Jae1015@users.noreply.github.com> Date: Tue, 31 Oct 2017 22:52:15 +0530 Subject: [PATCH] Update sizeof.cpp --- sizeof.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sizeof.cpp b/sizeof.cpp index 5f5e438..050d17b 100644 --- a/sizeof.cpp +++ b/sizeof.cpp @@ -5,7 +5,8 @@ using namespace std; int main(int argc, char const *argv[]) { system("cls"); //system("cls") is used to clear screen. - + + //output of sizeof() is compiler dependent. cout << "Size of char is " << sizeof(char) << "\n"; cout << "Size of signed char is " << sizeof(signed char) << "\n"; cout << "Size of unsigned char is " << sizeof(unsigned char) << "\n";