From 8c8fc00c230e91b70f1da18c17ba7b8846bde26d Mon Sep 17 00:00:00 2001 From: tarunrajl <44336930+tarunrajl@users.noreply.github.com> Date: Sun, 21 Oct 2018 16:32:27 +0530 Subject: [PATCH] Added comments --- Integer Types/src/Integer Types.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Integer Types/src/Integer Types.cpp b/Integer Types/src/Integer Types.cpp index 24a6f37..92c4a87 100644 --- a/Integer Types/src/Integer Types.cpp +++ b/Integer Types/src/Integer Types.cpp @@ -17,11 +17,11 @@ int main() { int value = -54656; cout << value << endl; - cout << "Max int value: "<< INT_MAX << endl; - cout << "Min int value: "<< INT_MIN << endl; + cout << "Max int value: "<< INT_MAX << endl; // upper limit of int + cout << "Min int value: "<< INT_MIN << endl; // lower limit of int long int lValue = 2345325345345; - cout << lValue << endl; + cout << lValue << endl; short int sValue = 23434; cout << sValue << endl; @@ -29,7 +29,7 @@ int main() { cout << "Size of int: " << sizeof(int) << endl; cout << "Size of short int: " << sizeof(short int) << endl; - unsigned int uValue = 2342343; + unsigned int uValue = 2342343; // unsigned int only takes positive values, it has same size as int cout << uValue << endl; return 0;