0
what int mean pls someone tell me? what used for?
3 Respostas
+ 8
"int" means "integer" (a number variable with no float/decimal point and small size)
+ 3
"int" refers to the data type that represents integers. A int is a primary data type in c++. It takes 2bytes in 32bit and 4bytes in 64bit architecture. It only stores the decimal point but does not fractional part of a number.
+ 2
In case you haven't heard 😊 an 'int' is an integer number. Integers are whole numbers with no fractional part. They can be both positive or negative, that is integers can be signed sometimes indicated by a plus(+) or minus(-) preceding the number itself. A 32bit integer will require 4bytes of storage space. 1byte = 8bits 32÷8=4. Basically, integers are used to count things that cannot be divided into quantities less than a whole unit.