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_Address</id>
		<title>C Tutorial/Language/Variable Address - История изменений</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_Address"/>
		<link rel="alternate" type="text/html" href="http://cppe.ru/index.php?title=C_Tutorial/Language/Variable_Address&amp;action=history"/>
		<updated>2026-04-08T16:26:06Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://cppe.ru/index.php?title=C_Tutorial/Language/Variable_Address&amp;diff=3828&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_Address&amp;diff=3828&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_Address&amp;diff=3829&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_Address&amp;diff=3829&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;==Output address and value==&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;
  int number = 0;                 &lt;br /&gt;
  int *pointer = NULL;            &lt;br /&gt;
  number = 10;&lt;br /&gt;
  printf(&amp;quot;\nnumber&amp;quot;s address: %p&amp;quot;, &amp;amp;number);            /* Output the address */&lt;br /&gt;
  printf(&amp;quot;\nnumber&amp;quot;s value: %d\n\n&amp;quot;, number);           /* Output the value   */&lt;br /&gt;
  return 0;&lt;br /&gt;
}&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;pre class=codeResult&amp;gt;number&amp;quot;s address: 9a378&lt;br /&gt;
     number&amp;quot;s value: 10&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Using the &amp;amp; operator==&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;
  long a = 1L;&lt;br /&gt;
  long b = 2L;&lt;br /&gt;
  long c = 3L;&lt;br /&gt;
  double d = 4.0;&lt;br /&gt;
  double e = 5.0;&lt;br /&gt;
  double f = 6.0;&lt;br /&gt;
  printf(&amp;quot;A variable of type long occupies %d bytes.&amp;quot;, sizeof(long));&lt;br /&gt;
  printf(&amp;quot;\nHere are the addresses of some variables of type long:&amp;quot;);&lt;br /&gt;
  printf(&amp;quot;\nThe address of a is: %p  The address of b is: %p&amp;quot;, &amp;amp;a, &amp;amp;b);&lt;br /&gt;
  printf(&amp;quot;\nThe address of c is: %p&amp;quot;, &amp;amp;c);&lt;br /&gt;
  printf(&amp;quot;\n\nA variable of type double occupies %d bytes.&amp;quot;, sizeof(double));&lt;br /&gt;
  printf(&amp;quot;\nHere are the addresses of some variables of type double:&amp;quot;);&lt;br /&gt;
  printf(&amp;quot;\nThe address of d is: %p  The address of e is: %p&amp;quot;, &amp;amp;d, &amp;amp;e);&lt;br /&gt;
  printf(&amp;quot;\nThe address of f is: %p\n&amp;quot;, &amp;amp;f);&lt;br /&gt;
  return 0;&lt;br /&gt;
}&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;pre class=codeResult&amp;gt;A variable of type long occupies 4 bytes.&lt;br /&gt;
     Here are the addresses of some variables of type long:&lt;br /&gt;
     The address of a is: 9a57c  The address of b is: 9a578&lt;br /&gt;
     The address of c is: 9a574&lt;br /&gt;
     &lt;br /&gt;
     A variable of type double occupies 8 bytes.&lt;br /&gt;
     Here are the addresses of some variables of type double:&lt;br /&gt;
     The address of d is: 9a568  The address of e is: 9a560&lt;br /&gt;
     The address of f is: 9a558&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>