A<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
		<id>http://cppe.ru/index.php?action=history&amp;feed=atom&amp;title=C_Tutorial%2FLanguage%2FVariable_Size_and_Limitation</id>
		<title>C Tutorial/Language/Variable Size and Limitation - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://cppe.ru/index.php?action=history&amp;feed=atom&amp;title=C_Tutorial%2FLanguage%2FVariable_Size_and_Limitation"/>
		<link rel="alternate" type="text/html" href="http://cppe.ru/index.php?title=C_Tutorial/Language/Variable_Size_and_Limitation&amp;action=history"/>
		<updated>2026-04-08T17:58:07Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://cppe.ru/index.php?title=C_Tutorial/Language/Variable_Size_and_Limitation&amp;diff=3832&amp;oldid=prev</id>
		<title> в 14:21, 25 мая 2010</title>
		<link rel="alternate" type="text/html" href="http://cppe.ru/index.php?title=C_Tutorial/Language/Variable_Size_and_Limitation&amp;diff=3832&amp;oldid=prev"/>
				<updated>2010-05-25T14:21:19Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Версия 14:21, 25 мая 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
			</entry>

	<entry>
		<id>http://cppe.ru/index.php?title=C_Tutorial/Language/Variable_Size_and_Limitation&amp;diff=3833&amp;oldid=prev</id>
		<title>Admin: 1 версия:&amp;#32;Импорт контента...</title>
		<link rel="alternate" type="text/html" href="http://cppe.ru/index.php?title=C_Tutorial/Language/Variable_Size_and_Limitation&amp;diff=3833&amp;oldid=prev"/>
				<updated>2010-05-25T10:32:42Z</updated>
		
		<summary type="html">&lt;p&gt;1 версия: Импорт контента...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Finding the limits==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;#include &amp;lt;stdio.h&amp;gt;      &lt;br /&gt;
#include &amp;lt;limits.h&amp;gt;   &lt;br /&gt;
#include &amp;lt;float.h&amp;gt;    &lt;br /&gt;
int main(void)&lt;br /&gt;
{&lt;br /&gt;
  printf(&amp;quot;Variables of type char store values from %d to %d&amp;quot;, CHAR_MIN, CHAR_MAX);&lt;br /&gt;
  printf(&amp;quot;\nVariables of type unsigned char store values from 0 to %u&amp;quot;, UCHAR_MAX);&lt;br /&gt;
  printf(&amp;quot;\nVariables of type short store values from %d to %d&amp;quot;, SHRT_MIN, SHRT_MAX);&lt;br /&gt;
  printf(&amp;quot;\nVariables of type unsigned short store values from 0 to %u&amp;quot;,USHRT_MAX);&lt;br /&gt;
  printf(&amp;quot;\nVariables of type int store values from %d to %d&amp;quot;, INT_MIN, INT_MAX);&lt;br /&gt;
  printf(&amp;quot;\nVariables of type unsigned int store values from 0 to %u&amp;quot;, UINT_MAX);&lt;br /&gt;
  printf(&amp;quot;\nVariables of type long store values from %ld to %ld&amp;quot;, LONG_MIN, LONG_MAX);&lt;br /&gt;
  printf(&amp;quot;\nVariables of type unsigned long store values from 0 to %lu&amp;quot;, ULONG_MAX);&lt;br /&gt;
  printf(&amp;quot;\nVariables of type long long store values from %lld to %lld&amp;quot;, LLONG_MIN, LLONG_MAX);&lt;br /&gt;
  printf(&amp;quot;\nVariables of type unsigned long long store values from 0 to %llu&amp;quot;, ULLONG_MAX);&lt;br /&gt;
  printf(&amp;quot;\n\nThe size of the smallest non-zero value of type float is %.3e&amp;quot;, FLT_MIN);&lt;br /&gt;
  printf(&amp;quot;\nThe size of the largest value of type float is %.3e&amp;quot;, FLT_MAX);&lt;br /&gt;
  printf(&amp;quot;\nThe size of the smallest non-zero value of type double is %.3e&amp;quot;, DBL_MIN);&lt;br /&gt;
  printf(&amp;quot;\nThe size of the largest value of type double is %.3e&amp;quot;, DBL_MAX);&lt;br /&gt;
  printf(&amp;quot;\nThe size of the smallest non-zero value of type long double is %.3Le&amp;quot;, LDBL_MIN);&lt;br /&gt;
  printf(&amp;quot;\nThe size of the largest value of type long double is %.3Le\n&amp;quot;, LDBL_MAX);&lt;br /&gt;
  printf(&amp;quot;\nVariables of type float provide %u decimal digits precision.&amp;quot;,  FLT_DIG);&lt;br /&gt;
  printf(&amp;quot;\nVariables of type double provide %u decimal digits precision.&amp;quot;,  DBL_DIG);&lt;br /&gt;
  printf(&amp;quot;\nVariables of type long double provide %u decimal digits precision.&amp;quot;, LDBL_DIG);&lt;br /&gt;
  return 0;&lt;br /&gt;
}&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;pre class=codeResult&amp;gt;Variables of type char store values from -128 to 127&lt;br /&gt;
     Variables of type unsigned char store values from 0 to 255&lt;br /&gt;
     Variables of type short store values from -32768 to 32767&lt;br /&gt;
     Variables of type unsigned short store values from 0 to 65535&lt;br /&gt;
     Variables of type int store values from -2147483648 to 2147483647&lt;br /&gt;
     Variables of type unsigned int store values from 0 to 4294967295&lt;br /&gt;
     Variables of type long store values from -2147483648 to 2147483647&lt;br /&gt;
     Variables of type unsigned long store values from 0 to 4294967295&lt;br /&gt;
     Variables of type long long store values from -9223372036854775808 to 9223372036854775807&lt;br /&gt;
     Variables of type unsigned long long store values from 0 to 18446744073709551615&lt;br /&gt;
     &lt;br /&gt;
     The size of the smallest non-zero value of type float is 1.175e-38&lt;br /&gt;
     The size of the largest value of type float is 3.403e+38&lt;br /&gt;
     The size of the smallest non-zero value of type double is 2.225e-308&lt;br /&gt;
     The size of the largest value of type double is 1.798e+308&lt;br /&gt;
     The size of the smallest non-zero value of type long double is 3.362e-4932&lt;br /&gt;
     The size of the largest value of type long double is 1.190e+4932&lt;br /&gt;
     &lt;br /&gt;
     Variables of type float provide 6 decimal digits precision.&lt;br /&gt;
     Variables of type double provide 15 decimal digits precision.&lt;br /&gt;
     Variables of type long double provide 18 decimal digits precision.&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Finding the size of a type ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
int main(void)&lt;br /&gt;
{&lt;br /&gt;
  printf(&amp;quot;\nVariables of type char occupy %d bytes&amp;quot;, sizeof(char));&lt;br /&gt;
  printf(&amp;quot;\nVariables of type short occupy %d bytes&amp;quot;, sizeof(short));&lt;br /&gt;
  printf(&amp;quot;\nVariables of type int occupy %d bytes&amp;quot;, sizeof(int));&lt;br /&gt;
  printf(&amp;quot;\nVariables of type long occupy %d bytes&amp;quot;, sizeof(long));&lt;br /&gt;
  printf(&amp;quot;\nVariables of type float occupy %d bytes&amp;quot;, sizeof(float));&lt;br /&gt;
  printf(&amp;quot;\nVariables of type double occupy %d bytes&amp;quot;, sizeof(double));&lt;br /&gt;
  printf(&amp;quot;\nVariables of type long double occupy %d bytes&amp;quot;, sizeof(long double));&lt;br /&gt;
  return 0;&lt;br /&gt;
}&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;pre class=codeResult&amp;gt;Variables of type char occupy 1 bytes&lt;br /&gt;
     Variables of type short occupy 2 bytes&lt;br /&gt;
     Variables of type int occupy 4 bytes&lt;br /&gt;
     Variables of type long occupy 4 bytes&lt;br /&gt;
     Variables of type float occupy 4 bytes&lt;br /&gt;
     Variables of type double occupy 8 bytes&lt;br /&gt;
     Variables of type long double occupy 12 bytes&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>