Skip to main content

About

About me:

Hi, I am Taranjeet Singh Kalsi,
I am currently pursuing my B-Tech in Computer Science from Gyan Ganga College of Technology, Jabalpur. I have been learning programming since 2015. I studied JAVA in deep in my school days and I have completed my C and C++ language Training from CISCO in 2020. I am currently learning Python language. Besides, I am also learning Android Studio.

About the Blog:

This blog is dedicated to programming questions where you can find and learn answers to such questions with full explanations. I do programming with my own style and build my own logic so that you will get answers to your programming questions. Subscribe to get the latest answers as soon as they are published.

Comments

Popular posts from this blog

Which data type is appropriate to store age of person?

Which data type is appropriate to store the age of the person? I will clearly say that to store the age of the person, the appropriate data type is an  int data type. However, if you are trying to reduce space complexity, I will say that you should go for byte data type as it has a range of -128 to 127. On the other hand, int data type ranges from  -2,147,483,648 to 2,147,483,647.  So byte data type would be perfect as the age of a person is more likely to be smaller than 127 (the maximum number which a byte data type can store).  I would generally prefer int data type because of the following reasons: We should not use float data type to store age as it would be inappropriate because the age of a person is generally preferred in numbers and not the decimal format. For Example, We say that the Age of a person is 18 rather than saying that that the age of the person is 18.0 or something like that. We should not use the String data type as it would be tri...