Точно така. Бърза справка: http://www.cplusplus.com/doc/tutorial/variables/
* The names of certain integer types can be abbreviated without their signed
and int
components - only the part not in italics is required to identify the type, the part in italics is optional. I.e., signed short int
can be abbreviated as signed short
, short int
, or simply short
; they all identify the same fundamental type.
Казано накратко, signed и int се подразбират ако не е указано друго.