Форум за въпроси

Задача 6 лимит

Задача 6 лимит

by Ангел Ангелов -
Number of replies: 2

Какво се подразбира под тип unsigned? unsinged int, unsigned long long?

In reply to Ангел Ангелов

Re: Задача 6 лимит

by Калоян Мънев -
In reply to Калоян Мънев

Re: Задача 6 лимит

by Трифон Трифонов -

Точно така. Бърза справка: 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 се подразбират ако не е указано друго.