Hey i have a confusion over modifiers? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Hey i have a confusion over modifiers?

Hey i wanna know that the modifiers like short and long only increase the bytes or size so why we need them coz data type like int already have default size so why we need these modifiers???

25th Jan 2017, 3:42 PM
Ankur
3 Answers
+ 10
1) shor and long are data types 2) for example if you want to have only possitive numbers you use 'unsigned int' or 'unsigned long' 3) try to find answers yourself, these are the questions for which you have answers all over the internet, and even better, everything about data types is explained here, on SoloLearn
25th Jan 2017, 9:22 PM
Filip
Filip - avatar
0
okk I'll find it btw thnx
5th Feb 2017, 5:10 AM
ankur bisht
ankur bisht - avatar
- 1
Just write the damn code...if it gives you errors then you ask
30th Jan 2017, 1:51 PM
Joe lucas
Joe lucas - avatar