<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4328364595668161353</id><updated>2024-09-08T06:22:35.167-07:00</updated><title type='text'>Embedded C</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://yoembeddedc.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4328364595668161353/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://yoembeddedc.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08596279255094307943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4328364595668161353.post-7092686768663772950</id><published>2012-06-02T11:54:00.000-07:00</published><updated>2012-06-02T12:15:00.267-07:00</updated><title type='text'>Embedded C for beginners - Using ATmega32</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: x-large;&quot;&gt;Introduction To
Embedded C&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: large;&quot;&gt;-&lt;u&gt;Yogesh Sharma&lt;/u&gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;div class=&quot;Section1&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;br clear=&quot;all&quot; style=&quot;mso-break-type: section-break; page-break-before: always;&quot; /&gt;
&lt;/span&gt;

&lt;br /&gt;
&lt;div class=&quot;Section2&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 16.2pt; text-align: justify; text-indent: -16.2pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 18pt;&quot;&gt;A&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 18pt;&quot;&gt;Register &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 6.75pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 11.2pt; text-align: justify; text-indent: -11.2pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11.5pt;&quot;&gt;A&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11.5pt;&quot;&gt;register is simply a
collection of some bits (mostly 8 bits in case of 8bit MCUs). Either each &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .6pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 102%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: .2pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 102%;&quot;&gt;different
bit in a register has some purpose or the register as a whole holds a value.
Registers serves as connection between a CPU and a Peripheral device (like ADC
or TIMER). By modifying the register the CPU is actually instructing the
PERIPHERAL to do something or it is configuring it in some way. And by reading
a register, the CPU can know the state of peripheral or read associated data.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 102%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 102%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlVXUoZ4GzHdNwwwAJDqSS03d9TJgh0o8_NqQUfpNWa94Kb4X0jksmFMJ5oTuqQU0Nx-vBu1Wq42oHoxuTWyjBASVX9bydtSqoU60oA_GiwbOLQy0QfLFHXrSTqq6VrZ4Nobkf8yU22ueO/s1600/1st+image.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;219&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlVXUoZ4GzHdNwwwAJDqSS03d9TJgh0o8_NqQUfpNWa94Kb4X0jksmFMJ5oTuqQU0Nx-vBu1Wq42oHoxuTWyjBASVX9bydtSqoU60oA_GiwbOLQy0QfLFHXrSTqq6VrZ4Nobkf8yU22ueO/s400/1st+image.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;b style=&quot;font-size: medium; line-height: 15.85pt; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 14pt;&quot;&gt;Fig.: CPU writing to Peripheral Register&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 10pt; text-align: left;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 10pt; text-align: left;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 10pt; text-align: left;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div class=&quot;Section3&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-loHrJhyVZco3U-N_6Q61OTiuhanACNeCSe6zkZHeEE-M62tsOep0g2APEcf7cNbl3SxUwXHZfcK-yNOR8LmDNzU89eq8bRPwsR7w8E2WGuLuyFCVbeSVpJAuD6wvzITvDJ2Bw4B1bFaz/s1600/2+image.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;255&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-loHrJhyVZco3U-N_6Q61OTiuhanACNeCSe6zkZHeEE-M62tsOep0g2APEcf7cNbl3SxUwXHZfcK-yNOR8LmDNzU89eq8bRPwsR7w8E2WGuLuyFCVbeSVpJAuD6wvzITvDJ2Bw4B1bFaz/s400/2+image.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;b style=&quot;font-size: medium; line-height: 13px; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12.5pt;&quot;&gt;Fig.: CPU Reading from Peripheral Register&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;Section4&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 18pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 18pt;&quot;&gt;Binary Numbers in C&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 6.75pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 107%; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11.5pt; line-height: 107%;&quot;&gt;When you write a=110; in C it means you are setting the
value of variable&quot;&lt;b&gt;&lt;i&gt;a&lt;/i&gt;&lt;/b&gt;&quot; to &quot;&lt;b&gt;&lt;i&gt;one hundred and&lt;/i&gt;&lt;/b&gt;
&lt;b&gt;&lt;i&gt;ten&lt;/i&gt;&lt;/b&gt;&quot; (in decimal). Many time in embedded programming we are
not interested in the value of a&lt;b&gt;&lt;i&gt; &lt;/i&gt;&lt;/b&gt;variable but the state of each
bits in the variable. Like when you want to set the bits of a register (MYREG)
to a bit pattern like 10010111 (binary). Then you cannot write MYREG=10010111.
Because compiler will interpret 10010111 as decimal. To specify a binary number
in C program you have to prefix it with 0b (zero followed by b). So if you
write&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 107%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 3.5pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;MYREG=0b10010111;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 6.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;it assigns the bit
pattern 10010111 to the bits of Register MYREG.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 18pt;&quot;&gt;HEX Numbers in C&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 6.75pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 111%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 0cm; margin-right: 17.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 111%;&quot;&gt;In
same way if you prefix a number by 0x (a zero followed by x) then compiler
interpret it like a HEX number. So&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 111%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 2.9pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 191%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 0cm; margin-right: 208.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10.5pt; line-height: 191%;&quot;&gt;MYREG=0x10;
(10 in HEX is 16 in decimal) MYREG=0xFF;(Set all bits to 11111111 or decimal
255)&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 191%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 4.65pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 18pt;&quot;&gt;Setting a BIT in
Register&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 6.75pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 111%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 0cm; margin-right: 13.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 111%;&quot;&gt;Here
our aim is to set (set to logical 1) any given bit (say bit 5) of a given
register (say MYREG). The syntax is&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 111%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 2.9pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;MYREG=MYREG |
0b00100000;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 6.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 105%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 0cm; margin-right: 3.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 105%;&quot;&gt;The
above code will SET bit 5 to 1 leaving all other bits unchanged. What the above
code does is that it &lt;b&gt;ORs&lt;/b&gt; each Bit of MYREG with each bit of 0b00100000
and store the value back in MYREG. If you know how logical OR works then you
will get it.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 105%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 3.75pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 143%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 0cm; margin-right: 291.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 143%;&quot;&gt;In
short you can write the same code as MYREG|=0b00100000;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 143%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .05pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 103%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 0cm; margin-right: 16.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 103%;&quot;&gt;Now
lets come to practical usage. In practice each bit has got a name according to
its work/function. Say our BIT (the 5th bit) has got name ENABLE, and what it
does is clear by its name,when we set it to 1 it enables the peripheral and
when cleared (0) it disables it. So the right way to set it is.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 103%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 3.95pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;MYREG|=(1&amp;lt;&amp;lt;ENABLE);&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 5.7pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 113%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 0cm; margin-right: 8.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 113%;&quot;&gt;The &lt;b&gt;&amp;lt;&amp;lt;&lt;/b&gt;
is called &lt;b&gt;left shift&lt;/b&gt; operator. It shifts the bits of LHS variable left
by the amount on its RHS variable. If you write&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 113%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 2.65pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;b=1&amp;lt;&amp;lt;3;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 6.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 143%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 0cm; margin-right: 39.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 143%;&quot;&gt;then,
1 whose binary value is 00000001 is shifted 3 places to left which results in
00001000 So if ENABLE is defined as 5 (as enable is 5th bit) then&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 143%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .05pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 149%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 0cm; margin-right: 350.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11.5pt; line-height: 149%;&quot;&gt;MYREG|=(1&amp;lt;&amp;lt;ENABLE);
will result in MYREG|=(1&amp;lt;&amp;lt;5);&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 149%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .05pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 177%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 0cm; margin-right: 356.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;which again result in
MYREG|=(0b00100000);&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 177%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;br clear=&quot;all&quot; style=&quot;mso-break-type: section-break; page-break-before: always;&quot; /&gt;
&lt;/span&gt;

&lt;br /&gt;
&lt;div class=&quot;Section5&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 111%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 0cm; margin-right: 4.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 111%;&quot;&gt;Now
a beginner would ask &quot;What&#39;s the Advantage ?&quot;. And once you know it
you would realize that advantage is immense!&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 111%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 2.6pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 2pt 0.0001pt 35pt; text-indent: -14pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;1.&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;Readability of code: &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;MYREG|=(1&amp;lt;&amp;lt;ENABLE); gives a clue
that we are enabling the&lt;b&gt; &lt;/b&gt;peripheral while MYREG|=0b00100000; does not
give any clue what it is doing, we have to go to data sheet and find out which
bit actually ENABLEs the peripheral. While ENABLE=5 is already defined in
header files by the developer of compiler by carefully studying the datasheets
of device. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 106%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 35.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; mso-list: l9 level1 lfo2; mso-pagination: none; punctuation-wrap: simple; tab-stops: list 35.0pt; text-autospace: none; text-indent: -14.0pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11.5pt; line-height: 106%;&quot;&gt;2.&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11.5pt; line-height: 106%;&quot;&gt;Easier
Portability&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11.5pt; line-height: 106%;&quot;&gt;: Suppose you use this code many times in
your program (and your&lt;b&gt; &lt;/b&gt;program is reasonably large and uses other
register also) and you now want the same code to run on some other MCU model.
The new MCU is of similar family but has slightly different bit scheme, say
ENABLE is bit 2 instead of bit 5. Then you have to find all occurrence of
MYREG|=(0b00100000); and change that to MYREG|=(0b00000100); But if you have
used the other method then you simply need to inform the compiler (by its
setting options) that you are going to use the other MCU and compiler will
automatically get the definitions for the new device. And in this definition
ENABLE=2 will already be defined by the compiler developer. So it will be lot
easier. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.8pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 18pt;&quot;&gt;Clearing a BIT in
Register&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 6.45pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 113%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 0cm; margin-right: 13.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 113%;&quot;&gt;For
clearing a bit logical AND(symbol &lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;amp;&lt;/span&gt;&lt;/b&gt;)
operator is used in place of logical OR (symbol &lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;|&lt;/span&gt;&lt;/b&gt;).
The syntax is as follows&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 113%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 2.65pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;MYREG&amp;amp;=~(1&amp;lt;&amp;lt;ENABLE);&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 10pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;Section6&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWxSfhGlJZGVXrxcrWapTVImv7-ocbMQFYBfc9ZJO6tgzxOZMNG94t25-aKjuK21OtfQCpuIxzg7ZE-6NOzO1id1LaCs8sgoGRgBe1X2SUqF7GvQ-CVRvt3-wKqKXmFsY3Gvh5Ntb0EIq-/s1600/3+image.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;300&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWxSfhGlJZGVXrxcrWapTVImv7-ocbMQFYBfc9ZJO6tgzxOZMNG94t25-aKjuK21OtfQCpuIxzg7ZE-6NOzO1id1LaCs8sgoGRgBe1X2SUqF7GvQ-CVRvt3-wKqKXmFsY3Gvh5Ntb0EIq-/s320/3+image.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12.5pt;&quot;&gt;Fig.: How to clear
(0) a bit in C language.&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;br clear=&quot;all&quot; style=&quot;mso-break-type: section-break; page-break-before: always;&quot; /&gt;
&lt;/span&gt;

&lt;br /&gt;
&lt;div class=&quot;Section7&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 0cm; margin-right: 11.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11.5pt; line-height: 120%;&quot;&gt;This
will clear (i.e. set to value 0) a given bit (identified by name ENABLE) in a
register called MYREG. This operation will not affect any other bits of
register except ENABLE.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 1.75pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;Let us see how it
works with the help of following diagram.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwo__LLVgp_rJoHUFtFMQOFgW6BEwa2buplsns4gGCO_-66ExqIoImGelv_LhB2orzrkJm7J1T2O_aek_ibKssawIVq6UpxSPu033Zv4xsIKrqLrmQEi1M50Nub2dWS-fU0SWhL_11jPRA/s1600/4+image.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;390&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwo__LLVgp_rJoHUFtFMQOFgW6BEwa2buplsns4gGCO_-66ExqIoImGelv_LhB2orzrkJm7J1T2O_aek_ibKssawIVq6UpxSPu033Zv4xsIKrqLrmQEi1M50Nub2dWS-fU0SWhL_11jPRA/s400/4+image.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;b style=&quot;font-size: medium; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 14pt;&quot;&gt;Fig.: &quot;Clearing a BIT&quot; how it works?&lt;/span&gt;&lt;/b&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 144pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 13.85pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 111%; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 111%;&quot;&gt;So now you know how you can selectively clear any bit in
any given register. If you want to clear more than one bit at a time you can
write like this&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 111%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 2.35pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 102%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 0cm; margin-right: 35.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 102%;&quot;&gt;//This will
clear bits ENABLE,FAST_MODE and BUSY, leaving all other bits untouched&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 102%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .1pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;MYREG&amp;amp;=(~((1&amp;lt;&amp;lt;ENABLE)|(1&amp;lt;&amp;lt;FAST_MODE)|(1&amp;lt;&amp;lt;BUSY)));&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 15.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;Similarly the syntax
for setting(set to 1) multiple bits at a time is as follows&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;br clear=&quot;all&quot; style=&quot;mso-break-type: section-break; page-break-before: auto;&quot; /&gt;
&lt;/span&gt;

&lt;br /&gt;
&lt;div class=&quot;Section8&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 5.45pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 127%; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 127%;&quot;&gt;//This will set bits ENABLE,FAST_MODE and BUSY, leaving all
other bits untouched
MYREG|=((1&amp;lt;&amp;lt;ENABLE)|(1&amp;lt;&amp;lt;FAST_MODE)|(1&amp;lt;&amp;lt;BUSY));&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 127%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;br clear=&quot;all&quot; style=&quot;mso-break-type: section-break; page-break-before: always;&quot; /&gt;
&lt;/span&gt;

&lt;br /&gt;
&lt;div class=&quot;Section9&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 18pt;&quot;&gt;Testing The Status of
a Bit.&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 6.75pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 102%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 0cm; margin-right: 2.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 102%;&quot;&gt;Till
now we were modifying the registers either setting or clearing bits. Now we
will learn how can be know that a specific bit is 0 or 1. To Know if a bit is 0
or 1 we AND it with a AND MASK. Suppose if we want to check bit 5 of a register
MYREG then the AND MASK would be 0b00100000. If we AND this value with the
current value of MYREG then result will be non-zero only if the 5th bit in
MYREG is &#39;1&#39; else the result will be &#39;0&#39;.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 102%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 4.3pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;The syntax would be
like this.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 5.45pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;if(MYREG&amp;nbsp; &amp;amp;&amp;nbsp;
(1&amp;lt;&amp;lt;ENABLE))&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .35pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .25pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 48pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;//ENABLE&amp;nbsp;
is&amp;nbsp; &#39;1&#39;&amp;nbsp; in&amp;nbsp;
MYREG&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .35pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 48pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;...&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .25pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .35pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;else&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .25pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .35pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 48pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;//ENABLE&amp;nbsp;
is&amp;nbsp; &#39;0&#39;&amp;nbsp; in&amp;nbsp;
MYREG&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .25pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 15.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 103%; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 103%;&quot;&gt;So now you know the basic operation on bits, they are
widely used in firmware programming and will help you understand other codes on
my web site. And Please don&#39;t forget to post your comment regarding any doubts,
or reporting errors in the above article, or simply to tell how you liked the
stuff.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 103%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;br clear=&quot;all&quot; style=&quot;mso-break-type: section-break; page-break-before: always;&quot; /&gt;
&lt;/span&gt;

&lt;br /&gt;
&lt;div class=&quot;Section10&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 20pt;&quot;&gt;Data Types:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYq81-sjb52MF8cSqLDO77QaI0rbB-DdKPnY1ch8n3kbetdhzAhcdmNKG0St0Ef0odxx0ADyFkaSddkscoIzK0jqOkyF9Ytpc-Mx-HvdnKYcWdu2HtSrerdWRqpWAc99h3zcWeBWztZqSw/s1600/5+image.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;290&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYq81-sjb52MF8cSqLDO77QaI0rbB-DdKPnY1ch8n3kbetdhzAhcdmNKG0St0Ef0odxx0ADyFkaSddkscoIzK0jqOkyF9Ytpc-Mx-HvdnKYcWdu2HtSrerdWRqpWAc99h3zcWeBWztZqSw/s400/5+image.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 35pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;The primary data types required in
Embedded C are:&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; margin-left: .5pt; mso-padding-alt: 0cm 0cm 0cm 0cm; mso-table-layout-alt: fixed;&quot;&gt;
 &lt;tbody&gt;
&lt;tr style=&quot;height: 18.4pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0;&quot;&gt;
  &lt;td style=&quot;border: solid windowtext 1.0pt; height: 18.4pt; padding: 0cm 0cm 0cm 0cm; width: 160.0pt;&quot; valign=&quot;bottom&quot; width=&quot;213&quot;&gt;
  &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-font-width: 88%;&quot;&gt;Data Types&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: none; border-top: solid windowtext 1.0pt; height: 18.4pt; padding: 0cm 0cm 0cm 0cm; width: 31.0pt;&quot; valign=&quot;bottom&quot; width=&quot;41&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; style=&quot;border-left: none; border: solid windowtext 1.0pt; height: 18.4pt; padding: 0cm 0cm 0cm 0cm; width: 52.0pt;&quot; valign=&quot;bottom&quot; width=&quot;69&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 1pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt;&quot;&gt;Size&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: none; border-top: solid windowtext 1.0pt; height: 18.4pt; padding: 0cm 0cm 0cm 0cm; width: 92.0pt;&quot; valign=&quot;bottom&quot; width=&quot;123&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: none; border-top: solid windowtext 1.0pt; height: 18.4pt; padding: 0cm 0cm 0cm 0cm; width: 45.0pt;&quot; valign=&quot;bottom&quot; width=&quot;60&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 12pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-font-width: 87%;&quot;&gt;Range&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: solid windowtext 1.0pt; height: 18.4pt; padding: 0cm 0cm 0cm 0cm; width: 102.0pt;&quot; valign=&quot;bottom&quot; width=&quot;136&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 18.3pt; mso-yfti-irow: 1;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; height: 18.3pt; padding: 0cm 0cm 0cm 0cm; width: 160.0pt;&quot; valign=&quot;bottom&quot; width=&quot;213&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border: none; height: 18.3pt; padding: 0cm 0cm 0cm 0cm; width: 31.0pt;&quot; valign=&quot;bottom&quot; width=&quot;41&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 12pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-font-width: 84%;&quot;&gt;bits&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 18.3pt; padding: 0cm 0cm 0cm 0cm; width: 11.0pt;&quot; valign=&quot;bottom&quot; width=&quot;15&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 18.3pt; padding: 0cm 0cm 0cm 0cm; width: 41.0pt;&quot; valign=&quot;bottom&quot; width=&quot;55&quot;&gt;
  &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-font-width: 86%;&quot;&gt;bytes&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border: none; height: 18.3pt; padding: 0cm 0cm 0cm 0cm; width: 92.0pt;&quot; valign=&quot;bottom&quot; width=&quot;123&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; style=&quot;border-bottom: solid windowtext 1.0pt; border: none; height: 18.3pt; padding: 0cm 0cm 0cm 0cm; width: 45.0pt;&quot; valign=&quot;bottom&quot; width=&quot;60&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 18.3pt; padding: 0cm 0cm 0cm 0cm; width: 102.0pt;&quot; valign=&quot;bottom&quot; width=&quot;136&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 18.4pt; mso-yfti-irow: 2;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; height: 18.4pt; padding: 0cm 0cm 0cm 0cm; width: 160.0pt;&quot; valign=&quot;bottom&quot; width=&quot;213&quot;&gt;
  &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-font-width: 88%;&quot;&gt;char or signed char&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border: none; height: 18.4pt; padding: 0cm 0cm 0cm 0cm; width: 31.0pt;&quot; valign=&quot;bottom&quot; width=&quot;41&quot;&gt;
  &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 5pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-font-width: 89%;&quot;&gt;8&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 18.4pt; padding: 0cm 0cm 0cm 0cm; width: 11.0pt;&quot; valign=&quot;bottom&quot; width=&quot;15&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 18.4pt; padding: 0cm 0cm 0cm 0cm; width: 41.0pt;&quot; valign=&quot;bottom&quot; width=&quot;55&quot;&gt;
  &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-font-width: 89%;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border: none; height: 18.4pt; padding: 0cm 0cm 0cm 0cm; width: 92.0pt;&quot; valign=&quot;bottom&quot; width=&quot;123&quot;&gt;
  &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 8pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-font-width: 91%;&quot;&gt;-128&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 18.4pt; padding: 0cm 0cm 0cm 0cm; width: 14.0pt;&quot; valign=&quot;bottom&quot; width=&quot;19&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 18.4pt; padding: 0cm 0cm 0cm 0cm; width: 31.0pt;&quot; valign=&quot;bottom&quot; width=&quot;41&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 11pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt;&quot;&gt;to&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 18.4pt; padding: 0cm 0cm 0cm 0cm; width: 102.0pt;&quot; valign=&quot;bottom&quot; width=&quot;136&quot;&gt;
  &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-font-width: 89%;&quot;&gt;127&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 18.3pt; mso-yfti-irow: 3;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; height: 18.3pt; padding: 0cm 0cm 0cm 0cm; width: 160.0pt;&quot; valign=&quot;bottom&quot; width=&quot;213&quot;&gt;
  &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-font-width: 88%;&quot;&gt;unsigned char&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border: none; height: 18.3pt; padding: 0cm 0cm 0cm 0cm; width: 31.0pt;&quot; valign=&quot;bottom&quot; width=&quot;41&quot;&gt;
  &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 5pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-font-width: 89%;&quot;&gt;8&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 18.3pt; padding: 0cm 0cm 0cm 0cm; width: 11.0pt;&quot; valign=&quot;bottom&quot; width=&quot;15&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 18.3pt; padding: 0cm 0cm 0cm 0cm; width: 41.0pt;&quot; valign=&quot;bottom&quot; width=&quot;55&quot;&gt;
  &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-font-width: 89%;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border: none; height: 18.3pt; padding: 0cm 0cm 0cm 0cm; width: 92.0pt;&quot; valign=&quot;bottom&quot; width=&quot;123&quot;&gt;
  &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 9pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-font-width: 89%;&quot;&gt;0.420&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 18.3pt; padding: 0cm 0cm 0cm 0cm; width: 14.0pt;&quot; valign=&quot;bottom&quot; width=&quot;19&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 18.3pt; padding: 0cm 0cm 0cm 0cm; width: 31.0pt;&quot; valign=&quot;bottom&quot; width=&quot;41&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 11pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt;&quot;&gt;to&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 18.3pt; padding: 0cm 0cm 0cm 0cm; width: 102.0pt;&quot; valign=&quot;bottom&quot; width=&quot;136&quot;&gt;
  &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-font-width: 89%;&quot;&gt;255&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 18.4pt; mso-yfti-irow: 4;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; height: 18.4pt; padding: 0cm 0cm 0cm 0cm; width: 160.0pt;&quot; valign=&quot;bottom&quot; width=&quot;213&quot;&gt;
  &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-font-width: 92%;&quot;&gt;int or signed int&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border: none; height: 18.4pt; padding: 0cm 0cm 0cm 0cm; width: 31.0pt;&quot; valign=&quot;bottom&quot; width=&quot;41&quot;&gt;
  &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 5pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-font-width: 89%;&quot;&gt;16&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 18.4pt; padding: 0cm 0cm 0cm 0cm; width: 11.0pt;&quot; valign=&quot;bottom&quot; width=&quot;15&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 18.4pt; padding: 0cm 0cm 0cm 0cm; width: 41.0pt;&quot; valign=&quot;bottom&quot; width=&quot;55&quot;&gt;
  &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-font-width: 89%;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border: none; height: 18.4pt; padding: 0cm 0cm 0cm 0cm; width: 92.0pt;&quot; valign=&quot;bottom&quot; width=&quot;123&quot;&gt;
  &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 8pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-font-width: 90%;&quot;&gt;-32768&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 18.4pt; padding: 0cm 0cm 0cm 0cm; width: 14.0pt;&quot; valign=&quot;bottom&quot; width=&quot;19&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 18.4pt; padding: 0cm 0cm 0cm 0cm; width: 31.0pt;&quot; valign=&quot;bottom&quot; width=&quot;41&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 11pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt;&quot;&gt;to&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 18.4pt; padding: 0cm 0cm 0cm 0cm; width: 102.0pt;&quot; valign=&quot;bottom&quot; width=&quot;136&quot;&gt;
  &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-font-width: 89%;&quot;&gt;32767&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 18.3pt; mso-yfti-irow: 5;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; height: 18.3pt; padding: 0cm 0cm 0cm 0cm; width: 160.0pt;&quot; valign=&quot;bottom&quot; width=&quot;213&quot;&gt;
  &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-font-width: 91%;&quot;&gt;unsigned int&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border: none; height: 18.3pt; padding: 0cm 0cm 0cm 0cm; width: 31.0pt;&quot; valign=&quot;bottom&quot; width=&quot;41&quot;&gt;
  &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 5pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-font-width: 89%;&quot;&gt;16&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 18.3pt; padding: 0cm 0cm 0cm 0cm; width: 11.0pt;&quot; valign=&quot;bottom&quot; width=&quot;15&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 18.3pt; padding: 0cm 0cm 0cm 0cm; width: 41.0pt;&quot; valign=&quot;bottom&quot; width=&quot;55&quot;&gt;
  &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-font-width: 89%;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border: none; height: 18.3pt; padding: 0cm 0cm 0cm 0cm; width: 92.0pt;&quot; valign=&quot;bottom&quot; width=&quot;123&quot;&gt;
  &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 8pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-font-width: 89%;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 18.3pt; padding: 0cm 0cm 0cm 0cm; width: 14.0pt;&quot; valign=&quot;bottom&quot; width=&quot;19&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 18.3pt; padding: 0cm 0cm 0cm 0cm; width: 31.0pt;&quot; valign=&quot;bottom&quot; width=&quot;41&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 11pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt;&quot;&gt;to&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 18.3pt; padding: 0cm 0cm 0cm 0cm; width: 102.0pt;&quot; valign=&quot;bottom&quot; width=&quot;136&quot;&gt;
  &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-font-width: 89%;&quot;&gt;65535&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 18.4pt; mso-yfti-irow: 6;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; height: 18.4pt; padding: 0cm 0cm 0cm 0cm; width: 160.0pt;&quot; valign=&quot;bottom&quot; width=&quot;213&quot;&gt;
  &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-font-width: 96%;&quot;&gt;float&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border: none; height: 18.4pt; padding: 0cm 0cm 0cm 0cm; width: 31.0pt;&quot; valign=&quot;bottom&quot; width=&quot;41&quot;&gt;
  &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 5pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-font-width: 89%;&quot;&gt;32&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 18.4pt; padding: 0cm 0cm 0cm 0cm; width: 11.0pt;&quot; valign=&quot;bottom&quot; width=&quot;15&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 18.4pt; padding: 0cm 0cm 0cm 0cm; width: 41.0pt;&quot; valign=&quot;bottom&quot; width=&quot;55&quot;&gt;
  &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-font-width: 89%;&quot;&gt;4&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border: none; height: 18.4pt; padding: 0cm 0cm 0cm 0cm; width: 92.0pt;&quot; valign=&quot;bottom&quot; width=&quot;123&quot;&gt;
  &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 9pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-font-width: 90%;&quot;&gt;3.4 e(-38)&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 18.4pt; padding: 0cm 0cm 0cm 0cm; width: 14.0pt;&quot; valign=&quot;bottom&quot; width=&quot;19&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 18.4pt; padding: 0cm 0cm 0cm 0cm; width: 31.0pt;&quot; valign=&quot;bottom&quot; width=&quot;41&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 11pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt;&quot;&gt;to&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 18.4pt; padding: 0cm 0cm 0cm 0cm; width: 102.0pt;&quot; valign=&quot;bottom&quot; width=&quot;136&quot;&gt;
  &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-font-width: 90%;&quot;&gt;3.4 e(+38)&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 18.3pt; mso-yfti-irow: 7; mso-yfti-lastrow: yes;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; height: 18.3pt; padding: 0cm 0cm 0cm 0cm; width: 160.0pt;&quot; valign=&quot;bottom&quot; width=&quot;213&quot;&gt;
  &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-font-width: 91%;&quot;&gt;double&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border: none; height: 18.3pt; padding: 0cm 0cm 0cm 0cm; width: 31.0pt;&quot; valign=&quot;bottom&quot; width=&quot;41&quot;&gt;
  &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 5pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-font-width: 89%;&quot;&gt;64&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 18.3pt; padding: 0cm 0cm 0cm 0cm; width: 11.0pt;&quot; valign=&quot;bottom&quot; width=&quot;15&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 18.3pt; padding: 0cm 0cm 0cm 0cm; width: 41.0pt;&quot; valign=&quot;bottom&quot; width=&quot;55&quot;&gt;
  &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-font-width: 89%;&quot;&gt;8&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border: none; height: 18.3pt; padding: 0cm 0cm 0cm 0cm; width: 92.0pt;&quot; valign=&quot;bottom&quot; width=&quot;123&quot;&gt;
  &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 9pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-font-width: 90%;&quot;&gt;1.7 e(-308)&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 18.3pt; padding: 0cm 0cm 0cm 0cm; width: 14.0pt;&quot; valign=&quot;bottom&quot; width=&quot;19&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 18.3pt; padding: 0cm 0cm 0cm 0cm; width: 31.0pt;&quot; valign=&quot;bottom&quot; width=&quot;41&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 11pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt;&quot;&gt;to&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 18.3pt; padding: 0cm 0cm 0cm 0cm; width: 102.0pt;&quot; valign=&quot;bottom&quot; width=&quot;136&quot;&gt;
  &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-font-width: 90%;&quot;&gt;1.7 e(+308)&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;line-height: 17px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 18pt;&quot;&gt;User defined type
declaration&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 6.75pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 105%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 0cm; margin-right: 1.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-align: justify; text-autospace: none; text-justify: inter-ideograph;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 105%;&quot;&gt;C language supports a feature where user can
define an identifier that characterizes an existing data type. This user
defined data type identifier can later be used to declare variables. In short
its purpose is to redefine the name of an existing data type.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 105%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 11.25pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 113%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 0cm; margin-right: 282.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 113%;&quot;&gt;Syntax:
&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 113%;&quot;&gt;typedef
&amp;lt;type&amp;gt; &amp;lt;identifier&amp;gt;; like&lt;b&gt; &lt;/b&gt;typedef int number;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 113%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 10.45pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 105%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 0cm; margin-right: 5.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 105%;&quot;&gt;Now
we can use number in lieu of int to declare integer variable. For example: “int
x1” or “number x1” both statements declaring an integer variable. We have just
changed the default keyword “int” to declare integer variable to “number”.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 105%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;br clear=&quot;all&quot; style=&quot;mso-break-type: section-break; page-break-before: always;&quot; /&gt;
&lt;/span&gt;

&lt;br /&gt;
&lt;div class=&quot;Section11&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 16pt;&quot;&gt;Typecasting:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .55pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 103%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 0cm; margin-right: 7.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 103%;&quot;&gt;Typecasting
is a way to make a variable of one type, such as an int, act like another type,
such as a char, for one single operation. To typecast something, simply put the
type of variable you want the actual variable to act as inside parentheses in
front of the actual variable. (char)a will make &#39;a&#39; function as a char.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 103%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 11.75pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 105%; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 105%;&quot;&gt;One use for typecasting for is when you want to use the
ASCII characters. For example, what if you want to create your own chart of all
256 ASCII characters. To do this, you will need to use to typecast to allow you
to print out the integer as its character equivalent.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 105%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.8pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;#include&amp;nbsp; &amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 11.95pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;int&amp;nbsp; main()&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .35pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .25pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 24pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;for&amp;nbsp;
(&amp;nbsp; int&amp;nbsp; x&amp;nbsp;
=&amp;nbsp; 0;&amp;nbsp; x&amp;nbsp;
&amp;lt;&amp;nbsp; 256;&amp;nbsp; x++&amp;nbsp;
)&amp;nbsp; {&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .35pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 48pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 8pt;&quot;&gt;/*&amp;nbsp;
Note&amp;nbsp; the&amp;nbsp; use&amp;nbsp;
of&amp;nbsp; the&amp;nbsp; int&amp;nbsp;
version&amp;nbsp; of&amp;nbsp; x&amp;nbsp;
to&amp;nbsp; output&amp;nbsp; a&amp;nbsp;
number&amp;nbsp; and&amp;nbsp; the&amp;nbsp;
use&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 2.55pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 66pt; text-align: justify; text-indent: -12pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 9pt;&quot;&gt;*&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 9pt;&quot;&gt;of&amp;nbsp; (char)&amp;nbsp;
to&amp;nbsp; typecast&amp;nbsp; the&amp;nbsp;
x&amp;nbsp; into&amp;nbsp; a&amp;nbsp;
character&amp;nbsp; which&amp;nbsp; outputs&amp;nbsp;
the &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 1.5pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 66pt; text-align: justify; text-indent: -12pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;*&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;ASCII&amp;nbsp; character&amp;nbsp;
that&amp;nbsp; corresponds&amp;nbsp; to&amp;nbsp; the&amp;nbsp; current&amp;nbsp;
number &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .25pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 54pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;*/&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .35pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 48pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;printf(&amp;nbsp;
&quot;%d&amp;nbsp; =&amp;nbsp; %c\n&quot;,&amp;nbsp;
x,&amp;nbsp; (char)x&amp;nbsp; );&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .25pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 24pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .35pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 24pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;getchar();&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 11.95pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.5pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 113%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 0cm; margin-right: 29.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 113%;&quot;&gt;Typecasting
is dangerous because - You might temporarily lose part of the data - such as
truncating a float when typecasting to an int.&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 113%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 10.1pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;One good use for typecasting is - &lt;b&gt;To
allow division of two integers to return a decimal value.&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 1.15pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;Eg: 3/2=1.5&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.9pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;Following conversions
are possible using typecasting:&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 36pt; text-align: justify; text-indent: -18.2pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;➢&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;int
to float &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 92%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; mso-list: l8 level1 lfo4; mso-pagination: none; punctuation-wrap: simple; tab-stops: list 36.0pt; text-align: justify; text-autospace: none; text-indent: -18.2pt; text-justify: inter-ideograph;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 92%;&quot;&gt;➢&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 92%;&quot;&gt;float to int &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 95%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; mso-list: l8 level1 lfo4; mso-pagination: none; punctuation-wrap: simple; tab-stops: list 36.0pt; text-align: justify; text-autospace: none; text-indent: -18.2pt; text-justify: inter-ideograph;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 95%;&quot;&gt;➢&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 95%;&quot;&gt;char to float &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;br clear=&quot;all&quot; style=&quot;mso-break-type: section-break; page-break-before: always;&quot; /&gt;
&lt;/span&gt;

&lt;br /&gt;
&lt;div class=&quot;Section12&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 20pt;&quot;&gt;Storage Class:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.65pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 0cm; margin-right: 19.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none; text-indent: 35.5pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11.5pt; line-height: 120%;&quot;&gt;Storage class provides information about their location
and visibility. The storage class divides the portion of the program within
which the variables are recognized.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 9.25pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;auto :&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 6.8pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 36pt; text-align: justify; text-indent: -18.2pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;➢&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;It
is a local variable known only to the function in which it is declared. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 5.5pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 97%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 37.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-list: l7 level1 lfo5; mso-pagination: none; punctuation-wrap: simple; tab-stops: list 36.0pt; text-align: justify; text-autospace: none; text-indent: -18.2pt; text-justify: inter-ideograph;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 97%;&quot;&gt;➢&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 97%;&quot;&gt;Auto
is the default storage class when a variable is declared in a function (i.e.
local variables). &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 5.65pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 103%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 5.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-list: l7 level1 lfo5; mso-pagination: none; punctuation-wrap: simple; tab-stops: list 36.0pt; text-align: justify; text-autospace: none; text-indent: -18.2pt; text-justify: inter-ideograph;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11.5pt; line-height: 103%;&quot;&gt;➢&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11.5pt; line-height: 103%;&quot;&gt;It is realized everytime the function is
called – That is memory is allocated to the variable when it enters the
function and it is deallocated when it leaves the function. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.5pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;static :&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 7.4pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 97%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 4.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-list: l2 level1 lfo6; mso-pagination: none; punctuation-wrap: simple; tab-stops: list 36.0pt; text-align: justify; text-autospace: none; text-indent: -18.2pt; text-justify: inter-ideograph;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 97%;&quot;&gt;➢&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 97%;&quot;&gt;Local variable which exists and retains its
value even after the control is transferred to the calling function. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 4.95pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 36pt; text-align: justify; text-indent: -18.2pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;➢&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;Static
is the default storage class for global variables. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 4.8pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 36pt; text-align: justify; text-indent: -18.2pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;➢&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;Static
variables can also be defined within a function. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 5.6pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 97%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; mso-list: l2 level1 lfo6; mso-pagination: none; punctuation-wrap: simple; tab-stops: list 36.0pt; text-align: justify; text-autospace: none; text-indent: -18.2pt; text-justify: inter-ideograph;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 97%;&quot;&gt;➢&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 97%;&quot;&gt;When defined inside the function the variable
is initialized at run time and not reinitialized when the function is called
again. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 5.55pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 36pt; text-align: justify; text-indent: -18.2pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;➢&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Thus inside a function a static
variable retain its value during the various function calls. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 5.55pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 36pt; text-align: justify; text-indent: -18.2pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;➢&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;Static
variables are inialized to zero automatically. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 4.8pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 36pt; text-align: justify; text-indent: -18.2pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;➢&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;Following
example shows the use of static variable &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 3.7pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #ffe599;&quot;&gt;void  func(void); &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Section12&quot;&gt;
&lt;span style=&quot;background-color: #ffe599;&quot;&gt;static  count=10;  /*  Global  variable  -  static  is  the  default  */ &lt;br /&gt;  &lt;br /&gt;main() { &lt;br /&gt;  while  (count--) { &lt;br /&gt;  func(); &lt;br /&gt;  } &lt;br /&gt;  } &lt;br /&gt;  &lt;br /&gt;void  func(  void  ) { &lt;br /&gt;static i = 5; i++; &lt;br /&gt;  printf(&quot;i  is  %d  and  count  is  %d\n&quot;,  i,  count); &lt;br /&gt;  } &lt;br /&gt;  &lt;br /&gt;This  will  produce  following  result &lt;br /&gt;  i is 6 and count is 9 &lt;br /&gt;i is 7 and count is 8 &lt;br /&gt;i is 8 and count is 7 &lt;br /&gt;i is 9 and count is 6 &lt;br /&gt;i is 10 and count is 5 &lt;br /&gt;i is 11 and count is 4 &lt;br /&gt;i is 12 and count is 3&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Section12&quot;&gt;
&lt;span style=&quot;background-color: #ffe599;&quot;&gt;i is 13 and count is 2 &lt;br /&gt;i is 14 and count is 1&lt;br /&gt;i is 15 and count is 0&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Section12&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Section13&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 9.9pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;extern :&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 6.7pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 36pt; text-align: justify; text-indent: -18.2pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;➢&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;Extern
is like a global variable known to all functions in the file. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 5.6pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 97%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 22.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-list: l3 level1 lfo7; mso-pagination: none; punctuation-wrap: simple; tab-stops: list 36.0pt; text-align: justify; text-autospace: none; text-indent: -18.2pt; text-justify: inter-ideograph;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 97%;&quot;&gt;➢&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 97%;&quot;&gt;Extern
is used to reference a local variable that is visible to all the program files
in that project. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 5.55pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 97%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 9.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-list: l3 level1 lfo7; mso-pagination: none; punctuation-wrap: simple; tab-stops: list 36.0pt; text-align: justify; text-autospace: none; text-indent: -18.2pt; text-justify: inter-ideograph;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 97%;&quot;&gt;➢&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 97%;&quot;&gt;Extern variables are not initialized because
they just point to another variable of the same name present in some other
file. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 4.95pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 36pt; text-align: justify; text-indent: -18.2pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;➢&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;Extern
is useful when one wants to use a variable or a function from another file. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 5.5pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 97%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 19.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-list: l3 level1 lfo7; mso-pagination: none; punctuation-wrap: simple; tab-stops: list 36.0pt; text-align: justify; text-autospace: none; text-indent: -18.2pt; text-justify: inter-ideograph;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 97%;&quot;&gt;➢&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 97%;&quot;&gt;All
functions in C are extern by default. Hence they are accessible by all the
files in the project. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 4.95pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 36pt; text-align: justify; text-indent: -18.2pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;➢&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;Following
example illustriates the use of extern variable: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 4.45pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;File 1: main.c&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 6.85pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: #ffe599;&quot;&gt;int  count=5; &lt;br /&gt;main() {&lt;br /&gt;write_extern(); &lt;br /&gt;  }&lt;/span&gt;

&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 16.4pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;File 2: write.c&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 6.85pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: #ffe599;&quot;&gt;void  write_extern(void)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Section13&quot;&gt;
&lt;span style=&quot;background-color: #ffe599;&quot;&gt;&lt;br /&gt;extern  int  count;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Section13&quot;&gt;
&lt;span style=&quot;background-color: #ffe599;&quot;&gt;&lt;br /&gt;void  write_extern(void) { &lt;br /&gt;  printf(&quot;count  is  %i\n&quot;,  count); &lt;br /&gt;  } &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 146%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 0cm; margin-right: 154.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 146%;&quot;&gt;Here
&lt;i&gt;extern&lt;/i&gt; keyword is being used to declare count in another file. Now
compile these two files as follows&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 146%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .1pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 19pt;&quot;&gt;
&lt;span style=&quot;background-color: #ffe599; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;gcc&amp;nbsp;
main.c&amp;nbsp; write.c&amp;nbsp; -o&amp;nbsp;
write&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 19pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;This fill produce &lt;i&gt;write&lt;/i&gt;
program which can be executed to produce result.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 6.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 111%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 0cm; margin-right: 6.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;background-color: #ffe599; font-family: Arial, sans-serif; font-size: 12pt; line-height: 111%;&quot;&gt;Count
in &#39;main.c&#39; will have a value of 5. If main.c changes the value of count -
write.c will see the new value&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 111%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 12.4pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;register :&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 7.4pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 97%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; mso-list: l5 level1 lfo8; mso-pagination: none; punctuation-wrap: simple; tab-stops: list 36.0pt; text-align: justify; text-autospace: none; text-indent: -18.2pt; text-justify: inter-ideograph;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 97%;&quot;&gt;➢&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 97%;&quot;&gt;Register is used to indicate the local
variables which are to be stored in a register instead of RAM. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 4.95pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 36pt; text-align: justify; text-indent: -18.2pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;➢&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;Hence,
&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;br clear=&quot;all&quot; style=&quot;mso-break-type: section-break; page-break-before: auto;&quot; /&gt;
&lt;/span&gt;

&lt;br /&gt;
&lt;div class=&quot;Section14&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 4.45pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10.5pt;&quot;&gt;maximum size of
variable = size of register&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;br clear=&quot;all&quot; style=&quot;mso-break-type: section-break; page-break-before: always;&quot; /&gt;
&lt;/span&gt;

&lt;br /&gt;
&lt;div class=&quot;Section15&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 0.2pt;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 16pt;&quot;&gt;Constant and Volatile:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 18.25pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 0.2pt;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;constant variable:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 6.3pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 0.2pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;const means that something is not modifiable.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 6.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 111%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: .2pt; margin-right: 24.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 111%;&quot;&gt;Hence
a const variable once assigned a value, that value cannot be changed even if
you want to change it.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 111%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.6pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 0.2pt;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;volatile variable:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 6.3pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 0.2pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;A
volatile variable is the one whose values may be changed at any time by some
external sources.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 7.15pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 0.2pt;&quot;&gt;
&lt;span style=&quot;color: maroon; font-family: &#39;Courier New&#39;; font-size: 12pt;&quot;&gt;volatile&amp;nbsp; int&amp;nbsp;
num;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 103%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: .2pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none; text-indent: 35.5pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 103%;&quot;&gt;The value of data may be altered by some external factor,
even if it does not appear on the left hand side of the assignment statement.
When we declare a variable as volatile the compiler will examine the value of
the variable each time it is encountered to see if an external factor has
changed the value.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 103%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 13.4pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 99%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: .2pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;u&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 99%;&quot;&gt;Use of volatile:&lt;/span&gt;&lt;/u&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 99%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .05pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 6.2pt; text-align: justify; text-indent: -6.2pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;-&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;An object that is a memory-mapped I/O port &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 6.2pt; text-align: justify; text-indent: -6.2pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;-&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;An object variable that is shared between multiple
concurrent processes &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 6.2pt; text-align: justify; text-indent: -6.2pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;-&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;An object that is modified by an interrupt service
routine &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 25pt 0.0001pt 0.2pt; text-align: justify; text-indent: -0.2pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;-&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;An automatic object
declared in a function that calls setjmp and whose value is-changed between the
call &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 0.2pt; text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;to
setjmp and a corresponding call to longjmp &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 18.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 113%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: .2pt; margin-right: 26.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 113%;&quot;&gt;*With
volatile keyword in the declaration the compiler knows that the value of a
variable must be read from memory every time it is referenced.&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 113%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 18.75pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.55pt; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: .2pt; margin-right: 78.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; punctuation-wrap: simple; text-autospace: none; text-indent: -.7pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Arial Unicode MS&#39;, sans-serif; font-size: 11.5pt;&quot;&gt;➢&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11.5pt;&quot;&gt; The following
program shows a typical example of using a volatile variable: Interrupt service
routines often set variables that are tested in main line code.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 4.55pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 111%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: .2pt; margin-right: 8.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 111%;&quot;&gt;One
problem that arises as soon as you use interrupt is that interrupt routines
need to communicate with rest of the code .&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 111%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 2.9pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 154%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: .2pt; margin-right: 134.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 154%;&quot;&gt;A
interrupt may update a variable num that is used in main line of code . An
incorrect implementation of this might be:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 4.75pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #ffe599;&quot;&gt;static lon int num ; &lt;br /&gt;void interrupt update(void) {&lt;br /&gt;++num ; &lt;br /&gt;} &lt;br /&gt;  &lt;br /&gt;main() { &lt;br /&gt;long val;&lt;br /&gt;val= num ; &lt;br /&gt; &lt;br /&gt;while(val !=num); &lt;br /&gt;  val = num ;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Section15&quot;&gt;
&lt;span style=&quot;background-color: #ffe599;&quot;&gt;&amp;nbsp;return val ;&lt;br /&gt; }&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Section16&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background-color: #ffe599;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;Problem and Solution:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 7.5pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 4.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-list: l6 level1 lfo10; mso-pagination: none; punctuation-wrap: simple; tab-stops: list 36.0pt; text-align: justify; text-autospace: none; text-indent: -18.2pt; text-justify: inter-ideograph;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11.5pt; line-height: 120%;&quot;&gt;•&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11.5pt; line-height: 120%;&quot;&gt;When compilation system execute while
statement, the optimizer in compiler may notice that it read the value num once
already and that value is still in the register. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 2.85pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 141%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 28.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-list: l6 level1 lfo10; mso-pagination: none; punctuation-wrap: simple; tab-stops: list 36.0pt; text-align: justify; text-autospace: none; text-indent: -18.2pt; text-justify: inter-ideograph;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10.5pt; line-height: 141%;&quot;&gt;•&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10.5pt; line-height: 141%;&quot;&gt;Instead
of re-reading the value from memory, compiler may produce code to use the
(possibly messed up) value in the register defeating purpose of original C
program. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .35pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 106%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; mso-list: l6 level1 lfo10; mso-pagination: none; punctuation-wrap: simple; tab-stops: list 36.0pt; text-align: justify; text-autospace: none; text-indent: -18.2pt; text-justify: inter-ideograph;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 106%;&quot;&gt;•&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 106%;&quot;&gt;Some compiler may optimize entire while
loop assuming that since the value of num was just assigned to val , the two
must be equal and condition in while statement will therefore always be false .
&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 106%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 4.65pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 111%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 20.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-list: l6 level1 lfo10; mso-pagination: none; punctuation-wrap: simple; tab-stops: list 36.0pt; text-align: justify; text-autospace: none; text-indent: -18.2pt; text-justify: inter-ideograph;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 111%;&quot;&gt;•&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 111%;&quot;&gt;To
avoid this ,you have to declare num to be volatile that warns compilers that
certain variables may change because of interrupt routines. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 2.9pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background-color: #ffd966; font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background-color: #ffd966; font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;static volatile long
int num ;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.5pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 113%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 0cm; margin-right: 2.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 113%;&quot;&gt;With
volatile keyword in the declaration the compiler knows that the value of num
must be read from memory every time it is referenced.&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 113%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;br clear=&quot;all&quot; style=&quot;mso-break-type: section-break; page-break-before: always;&quot; /&gt;
&lt;/span&gt;

&lt;br /&gt;
&lt;div class=&quot;Section17&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 20pt;&quot;&gt;Pointers:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 6.85pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 105%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 0cm; margin-right: 4.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-align: justify; text-autospace: none; text-justify: inter-ideograph;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 105%;&quot;&gt;Pointers are surprisingly simple, all you
have to do is remember that you&#39;re working with memory addresses. For example,
let us use an imaginary block of memory (while at the same time showing off my
beautiful artistic abilities)&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 105%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 3.2pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;-----------------------------------&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .35pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;|&amp;nbsp; 123&amp;nbsp;
||&amp;nbsp; 124&amp;nbsp; ||&amp;nbsp;
125&amp;nbsp; ||&amp;nbsp; 126&amp;nbsp;
||&amp;nbsp; 127&amp;nbsp; |&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .25pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;-----------------------------------&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 18.8pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 138%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 0cm; margin-right: 210.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 138%;&quot;&gt;Now,
when you declare a regular variable, for example: &lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 138%;&quot;&gt;char ch;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 138%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 10.6pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 111%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 0cm; margin-right: 13.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 111%;&quot;&gt;The
name &#39;ch&#39; becomes a synonym for the memory location it is given. If ch is given
the location 123 you can imagine the imaginary memory block to look like this:&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 111%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 2.35pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;----------------------------------&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .35pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;|&amp;nbsp; ch&amp;nbsp;
||&amp;nbsp; 124&amp;nbsp; ||&amp;nbsp;
125&amp;nbsp; ||&amp;nbsp; 126&amp;nbsp;
||&amp;nbsp; 127&amp;nbsp; |&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .25pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;----------------------------------&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 18.8pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 105%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 0cm; margin-right: 13.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 105%;&quot;&gt;Now,
a pointer is a separate variable that refers to another location in memory.
However, when it comes down to everything, a pointer is just another variable.
You declare it using the pointer notation *:&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 105%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 3.2pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;char&amp;nbsp; *pch;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 18.8pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;Since pch is just
another variable, our imaginary memory block might look like this:&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 5.45pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;-----------------------------------------&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .35pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;|&amp;nbsp; ch(123)&amp;nbsp;
||&amp;nbsp; pch(124)||&amp;nbsp; 125&amp;nbsp; ||&amp;nbsp; 126&amp;nbsp;
||&amp;nbsp; 127&amp;nbsp; |&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .25pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;-----------------------------------------&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 18.8pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 111%; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 111%;&quot;&gt;To give ch a value, all you do is assign that value to
the memory location (cleverly disguised by the name &#39;ch&#39;):&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 111%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 2.35pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;ch&amp;nbsp; =&amp;nbsp; &#39;A&#39;;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 18.8pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 105%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 0cm; margin-right: 1.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 105%;&quot;&gt;The
process is exactly the same with pointers except instead of arbitrary values,
their value is an actual address in memory. To obtain the address of a variable,
you prefix it with &amp;amp;. So to assign the address of ch to pch you would do
this:&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 105%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 3.2pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;pch&amp;nbsp; =&amp;nbsp;
&amp;amp;ch;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 18.8pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 111%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 0cm; margin-right: 4.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 111%;&quot;&gt;Now
pch&#39;s value is the address of ch, exactly like ch&#39;s value is &#39;A&#39;. If you access
pch, you&#39;ll get that address:&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 111%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 2.35pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;printf(&quot;%p\n&quot;,&amp;nbsp; pch);&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;br clear=&quot;all&quot; style=&quot;mso-break-type: section-break; page-break-before: auto;&quot; /&gt;
&lt;/span&gt;

&lt;br /&gt;
&lt;div class=&quot;Section18&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 18.8pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 141%; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10.5pt; line-height: 141%;&quot;&gt;Now, the great thing about pointers is that since they
are references to the address they contain, you can &quot;&lt;b&gt;dereference&lt;/b&gt;&quot;
them by prefixing the &lt;b&gt;*&lt;/b&gt; character. This accesses the memory address
contained&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 141%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;br clear=&quot;all&quot; style=&quot;mso-break-type: section-break; page-break-before: always;&quot; /&gt;
&lt;/span&gt;

&lt;br /&gt;
&lt;div class=&quot;Section19&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;by the pointer. The
following printf statements output the exact same thing:&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 5.45pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 139%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 0cm; margin-right: 354.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 9.5pt; line-height: 139%;&quot;&gt;printf(&quot;%c\n&quot;,
ch); printf(&quot;%c\n&quot;, *pch);&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 139%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 11.8pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 111%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 0cm; margin-right: 4.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 111%;&quot;&gt;Why?
Because ch is the memory location that we assigned &#39;A&#39;. By using a dereference,
*pch is also the memory location that we assigned &#39;A&#39;.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 111%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 2.9pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 111%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 0cm; margin-right: 24.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 111%;&quot;&gt;This
is the basic idea behind the pointer. Any data type in C can have a pointer to
that data type (even functions!). Let&#39;s look at a few uses of pointers.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 111%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 2.9pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 111%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 0cm; margin-right: 6.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 111%;&quot;&gt;Before
going any further, it&#39;s a good idea to mention two special variations of a
pointer. The first is a type of pointer and the second is a special value.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 111%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 2.6pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;






&lt;span style=&quot;text-align: left;&quot;&gt;First is the&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;text-align: left;&quot;&gt;&lt;u&gt;void pointer:&lt;/u&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;/div&gt;
&lt;div class=&quot;Section19&quot;&gt;
void *pv;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 6.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 126%; margin: 0cm 0cm 0.0001pt 23pt; text-indent: 35.5pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 126%;&quot;&gt;A void pointer is special in that it is the generic pointer, you
can assign any pointer value to void and then cast it back to the original
type.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 126%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 8.7pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 127%;&quot;&gt;The reason
this cast is required is because void pointers cannot be dereferenced:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 8.6pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 9.5pt; line-height: 107%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 8.6pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 9.5pt; line-height: 107%;&quot;&gt;void *pv;
int *pi;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .05pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;int&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;i&amp;nbsp;
=&amp;nbsp; 10;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 11.95pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; mso-padding-alt: 0cm 0cm 0cm 0cm; mso-table-layout-alt: fixed;&quot;&gt;
 &lt;tbody&gt;
&lt;tr style=&quot;height: 11.6pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0;&quot;&gt;
  &lt;td style=&quot;height: 11.6pt; padding: 0cm 0cm 0cm 0cm; width: 15.0pt;&quot; valign=&quot;bottom&quot; width=&quot;20&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;pi&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 11.6pt; padding: 0cm 0cm 0cm 0cm; width: 144.0pt;&quot; valign=&quot;bottom&quot; width=&quot;192&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 3pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;=&amp;nbsp;
  &amp;amp;i;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 11.6pt; padding: 0cm 0cm 0cm 0cm; width: 208.0pt;&quot; valign=&quot;bottom&quot; width=&quot;277&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 14.1pt; mso-yfti-irow: 1;&quot;&gt;
  &lt;td style=&quot;height: 14.1pt; padding: 0cm 0cm 0cm 0cm; width: 15.0pt;&quot; valign=&quot;bottom&quot; width=&quot;20&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;pv&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 14.1pt; padding: 0cm 0cm 0cm 0cm; width: 144.0pt;&quot; valign=&quot;bottom&quot; width=&quot;192&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 3pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;=&amp;nbsp;
  pi;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 14.1pt; padding: 0cm 0cm 0cm 0cm; width: 208.0pt;&quot; valign=&quot;bottom&quot; width=&quot;277&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 20.9pt; mso-yfti-irow: 2;&quot;&gt;
  &lt;td colspan=&quot;2&quot; style=&quot;height: 20.9pt; padding: 0cm 0cm 0cm 0cm; width: 159.0pt;&quot; valign=&quot;bottom&quot; width=&quot;212&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;printf(&quot;%d\n&quot;,&amp;nbsp; *pi);&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 20.9pt; padding: 0cm 0cm 0cm 0cm; width: 208.0pt;&quot; valign=&quot;bottom&quot; width=&quot;277&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 3pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;/*&amp;nbsp;
  Prints&amp;nbsp; 10&amp;nbsp; */&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 14.1pt; mso-yfti-irow: 3; mso-yfti-lastrow: yes;&quot;&gt;
  &lt;td colspan=&quot;2&quot; style=&quot;height: 14.1pt; padding: 0cm 0cm 0cm 0cm; width: 159.0pt;&quot; valign=&quot;bottom&quot; width=&quot;212&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;printf(&quot;%d\n&quot;,&amp;nbsp; *(int*)pv);&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 14.1pt; padding: 0cm 0cm 0cm 0cm; width: 208.0pt;&quot; valign=&quot;bottom&quot; width=&quot;277&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 3pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;/*&amp;nbsp; Also&amp;nbsp;
  prints&amp;nbsp; 10&amp;nbsp; */&amp;nbsp;
  -&amp;gt;Typecasting&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 16.05pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10.5pt;&quot;&gt;Note that the cast is
made *before* the dereference is performed. This is important, if the cast were&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 7.2pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;(int*)*pv&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 18.8pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 111%; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 111%;&quot;&gt;You would be dereferencing a void pointer and returning a
pointer to int from that invalid reference. Both are quite wrong.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 111%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 111%; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 111%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 2.6pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;Next is the &lt;b&gt;&lt;u&gt;null
pointer:&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 6.3pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 108%; margin: 0cm 0cm 0.0001pt 1pt; text-indent: 35.5pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11.5pt; line-height: 108%;&quot;&gt;A null pointer is a value that you assign to a pointer
variable when you want it to point to nothing in particular. This value is used
as a safe starting value for pointer variables, and erroneous return values
from functions that return pointers, such as malloc. A null pointer is any
integral value that evaluates to 0 (zero). The two common ways of using null
are the integral constant 0, and a macro defined in several standard headers
called NULL:&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 108%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 2.85pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;#include&amp;nbsp; &amp;lt;stddef.h&amp;gt;&amp;nbsp; /*&amp;nbsp;
For&amp;nbsp; NULL&amp;nbsp; */&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 11.95pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 9.5pt; line-height: 138%;&quot;&gt;int *pi = 0;
char *pc = NULL;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 8.05pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 111%; margin: 0cm 0cm 0.0001pt 7pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 111%;&quot;&gt;A
null pointer cannot be dereferenced because null is an invalid location in
memory to access. You can only assign null and test for it:&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 111%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;br clear=&quot;all&quot; style=&quot;mso-break-type: section-break; page-break-before: auto;&quot; /&gt;
&lt;/span&gt;

&lt;br /&gt;
&lt;div class=&quot;Section20&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 2.35pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 8pt;&quot;&gt;if&amp;nbsp; (pc&amp;nbsp;
!=&amp;nbsp; NULL)&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;br clear=&quot;all&quot; style=&quot;mso-break-type: section-break; page-break-before: always;&quot; /&gt;
&lt;/span&gt;

&lt;br /&gt;
&lt;div class=&quot;Section21&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 24pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;/*&amp;nbsp;
Do&amp;nbsp; something&amp;nbsp; */&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 11.95pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;if&amp;nbsp; (pc&amp;nbsp;
!=&amp;nbsp; 0)&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .35pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 24pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;/*&amp;nbsp;
Do&amp;nbsp; something&amp;nbsp; */&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 15.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 111%; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 111%;&quot;&gt;Since both NULL and 0 are both null pointer values, even
if you assign NULL to a pointer variable, you can still test it against 0 to
see if it&#39;s a null pointer.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 111%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 2.9pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;Now that all of that
is out of the way, a few uses of pointers. :)&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 15.5pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;Pointers as Function
parameters and return types:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 6.3pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;Pointers are useful
as function parameters and return types in two ways.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 5.7pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 113%; margin: 0cm 0cm 0.0001pt 6pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 113%;&quot;&gt;First
is a &lt;b&gt;size&lt;/b&gt; issue, imagine that you have a structure variable that is big,
say, 30 bytes. If you pass it to a function the usual way&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 113%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 2.1pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;void&amp;nbsp; f(struct&amp;nbsp;
MYSTRUCT&amp;nbsp; mys);&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .25pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;...&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .35pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;f(var);&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 15.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11.5pt;&quot;&gt;A copy of the entire
30 bytes is made. This can be &lt;u&gt;wasteful&lt;/u&gt; in both memory and performance.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 6.6pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 130%; margin: 0cm 0cm 0.0001pt 29pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;By passing a pointer to that variable
only the size of its memory address is copied and passed. Using our imaginary
memory setup, instead of 30 bytes, only 2 bytes are copied.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 130%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .6pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;This is faster and
more conservative of memory.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 5.45pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;void&amp;nbsp; f(struct&amp;nbsp;
MYSTRUCT&amp;nbsp; *pmys);&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .25pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;...&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .35pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;f(&amp;amp;var);&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 15.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;Notice that the
syntax of the pointer hasn&#39;t changed from our original examples.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 5.7pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 104%; margin: 0cm 0cm 0.0001pt 10pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 104%;&quot;&gt;The
second help with pointers as function parameters and return types is the &lt;b&gt;referencing
feature&lt;/b&gt;. By passing mys in the first example, you get a *copy* of the
variable passed to the function. So if you want to make any changes to the
original variable, you have to return the copy with changes made and assign it
to the original:&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 104%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 3.5pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;struct&amp;nbsp; MYSTRUCT&amp;nbsp;
f(struct&amp;nbsp; MYSTRUCT&amp;nbsp; mys);&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .25pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;...&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .35pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;var&amp;nbsp; =&amp;nbsp;
f(var);&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 15.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 105%; margin: 0cm 0cm 0.0001pt 22pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 105%;&quot;&gt;By passing a pointer to the function, you are
really copying the memory address of the original variable. Since you&#39;re able
to access the memory address of the original variable, you can make *changes*
to it from within another function!&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 105%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 3.2pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;int&amp;nbsp; f(struct&amp;nbsp;
MYSTRUCT&amp;nbsp; *pmys);&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .25pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;...&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .35pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;errorcode&amp;nbsp; =&amp;nbsp;
f(&amp;amp;var);&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.7pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 106%; margin: 0cm 0cm 0.0001pt 4pt; text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 106%;&quot;&gt;Return values &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 106%;&quot;&gt;work
the same way with pointers, you can return a pointer for improved efficiency,&lt;b&gt;
&lt;/b&gt;and so that a variable can be changed outside of the function. There is one
problem that you should take into consideration though -&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 106%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 3.55pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 111%; margin: 0cm 0cm 0.0001pt 24pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 111%;&quot;&gt;Local
variables are destroyed and their memory reclaimed at the end of the enclosing
block, so returning a pointer to a local variable is not correct:&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 111%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 2.35pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #ffe599;&quot;&gt;int  *f(void) { &lt;br /&gt;  int  i  =  10;&lt;br /&gt;return  &amp;amp;i;  /*  No!  Returning  a  local  variable  is  bad!  */&lt;br /&gt;  }&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Section22&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 15.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10.5pt;&quot;&gt;Returning memory that
you control (such as memory returned by malloc and calloc) is okay though:&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 7.2pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #ffe599;&quot;&gt;int  *f(void) {&lt;br /&gt;int  *i  =  malloc(sizeof  (int)); &lt;br /&gt;return  i;  /*  Okay,  you  control  when  the  memory  is  released  */ &lt;br /&gt;} &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;Dynamic data
structures&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 6.3pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 103%; margin: 0cm 0cm 0.0001pt 8pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 103%;&quot;&gt;Pointers
are used heavily for data structures that can grow and shrink dynamically at
runtime. This dynamic sizing requires the programmer to handle memory through
pointers using malloc/calloc, realloc, and free. Such data structures can be
node based (linked lists, binary trees, etc...) or block based (resizable
arrays).&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 103%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 3.95pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 111%; margin: 0cm 0cm 0.0001pt 11pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 111%;&quot;&gt;To
use a pointer to create an array, simply malloc enough memory for it by
multiplying the size of the element type by the number of elements you want:&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 111%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 111%; margin: 0cm 0cm 0.0001pt 11pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #ffe599;&quot;&gt;int *parray = malloc(10 * sizeof (int)); &lt;br /&gt;if (parray != NULL){ &lt;br /&gt;  /*  Okay,  use  it  */ &lt;br /&gt;  } &lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 18.8pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 111%; margin: 0cm 0cm 0.0001pt 6pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 111%;&quot;&gt;Note
that malloc, calloc, and realloc all return null pointers if they fail. The
above code is basically the same thing as using static arrays:&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 111%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 2.35pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;int&amp;nbsp; array[10];&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 15.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 111%; margin: 0cm 0cm 0.0001pt 10pt;&quot;&gt;
&lt;span style=&quot;color: #dc2300; font-family: Arial, sans-serif; font-size: 12pt; line-height: 111%;&quot;&gt;The only big differences are that you have control of the size
of parray at runtime, you can grow it or shrink it by using &lt;b&gt;&lt;u&gt;realloc&lt;/u&gt;.&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 111%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 2.6pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 113%; margin: 0cm 0cm 0.0001pt 28pt;&quot;&gt;
&lt;span style=&quot;color: #dc2300; font-family: Arial, sans-serif; font-size: 12pt; line-height: 113%;&quot;&gt;The second big difference is that you *must* remember to &lt;b&gt;&lt;u&gt;free&lt;/u&gt;&lt;/b&gt;
the memory you allocate using malloc, calloc, or realloc.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 113%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 12.1pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;Iterating through an
array and saved locations&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 6.3pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 111%; margin: 0cm 0cm 0.0001pt 17pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 111%;&quot;&gt;Pointers
are helpful for iterating through arrays and saving things that you want to
come back to. For example, if you have the following string:&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 111%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 2.35pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;char&amp;nbsp; s[]&amp;nbsp;
=&amp;nbsp; &quot;This&amp;nbsp; is&amp;nbsp;
a&amp;nbsp; test&quot;;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 15.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;And you want a
pointer to the beginning of each word, you can simply do this:&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 5.45pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 9.5pt; line-height: 107%;&quot;&gt;char *a = s;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 5.45pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 9.5pt; line-height: 107%;&quot;&gt;char *b = s + 5;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 5.45pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 9.5pt; line-height: 107%;&quot;&gt;char *c = s + 8;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .05pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;char&amp;nbsp; *d&amp;nbsp;
=&amp;nbsp; s&amp;nbsp; +&amp;nbsp; 10;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 15.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 103%; margin: 0cm 0cm 0.0001pt 9pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 103%;&quot;&gt;Now
a points to &quot;This is a test&quot;, b points to &quot;is a test&quot;, c
points to &quot;a test&quot;, and d points to &quot;test&quot;. Note that
pointers can have arithmetic performed on them. The name of an array is a
pointer to the first element, so if you add 1 to it you get the second element.
The above could also have been written as&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 103%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;br clear=&quot;all&quot; style=&quot;mso-break-type: section-break; page-break-before: auto;&quot; /&gt;
&lt;/span&gt;

&lt;br /&gt;
&lt;div class=&quot;Section23&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 3.4pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 8pt;&quot;&gt;char&amp;nbsp; *a&amp;nbsp;
=&amp;nbsp; &amp;amp;s[0];&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 9.5pt; line-height: 123%;&quot;&gt;char *b =
&amp;amp;s[5];&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 9.5pt; line-height: 123%;&quot;&gt;char *c = &amp;amp;s[8];&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 9.5pt; line-height: 123%;&quot;&gt;char *d = &amp;amp;s[10];&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;Section24&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 111%; margin: 0cm 0cm 0.0001pt 25pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 111%;&quot;&gt;Arrays
and pointers are closely related but are *not* the same. Keep this in mind when
mixing them.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 111%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 2.6pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;If a beginner in C
wanted to &lt;b&gt;print each element in an array&lt;/b&gt;, he would most likely do this:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background-color: #ffe599; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 127%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background-color: #ffe599; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 127%;&quot;&gt;int array[10]
= {1,2,3,4,5,6,7,8,9,-1}; int i;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 6.1pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;background-color: #ffe599; font-family: &#39;Courier New&#39;; font-size: 9.5pt; line-height: 138%; text-indent: -24.1pt;&quot;&gt;for (i = 0; i &amp;lt; 10; i++)&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 6.1pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;background-color: #ffe599; font-family: &#39;Courier New&#39;; font-size: 9.5pt; line-height: 138%; text-indent: -24.1pt;&quot;&gt;printf(&quot;%d\n&quot;, array[i]);&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background-color: #ffe599;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;or&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.45pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;background-color: #ffe599; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 127%; text-indent: -24.1pt;&quot;&gt;for (i = 0; array[i] != -1; i++)&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.45pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;background-color: #ffe599; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 127%; text-indent: -24.1pt;&quot;&gt;printf(&quot;%d\n&quot;,
array[i]);&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 9.15pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;This can also be done
using pointers:&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 5.45pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 5.45pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;background-color: #ffe599; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 126%;&quot;&gt;int
array[10] = {1,2,3,4,5,6,7,8,9,-1};&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 5.45pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;background-color: #ffe599; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 126%;&quot;&gt;int *pi;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 6.2pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;background-color: #ffe599;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 127%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 24.0pt; margin-right: 281.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none; text-indent: -24.1pt;&quot;&gt;
&lt;span style=&quot;background-color: #ffe599; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 127%;&quot;&gt;for (pi = array; *pi != -1; pi++) printf(&quot;%d\n&quot;, *pi);&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 127%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 127%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 24.0pt; margin-right: 281.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none; text-indent: -24.1pt;&quot;&gt;
&lt;span style=&quot;background-color: #ffe599; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 127%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 127%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 24.0pt; margin-right: 281.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none; text-indent: -24.1pt;&quot;&gt;
&lt;span style=&quot;background-color: #ffe599; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 127%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 16px;&quot;&gt;By using&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 16px;&quot;&gt;arithmetic on a pointer&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 16px;&quot;&gt;&amp;nbsp;to the first element of the array, you can walk every element in the array by adding one. Note that by adding one to a pointer, the pointer moves forward by the size of its data type. If char is one byte and int is two bytes&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #ffe599;&quot;&gt;char *pc = &amp;amp;c;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Section24&quot;&gt;
&lt;span style=&quot;background-color: #ffe599;&quot;&gt;&amp;nbsp;int *pi = &amp;amp;i;&lt;br /&gt;pc++; /* Moves forward 1 byte */&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Section24&quot;&gt;
&lt;span style=&quot;background-color: #ffe599;&quot;&gt;&amp;nbsp;pi++; /* Moves forward 2 bytes */ &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 111%; margin: 0cm 0cm 0.0001pt 20pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 111%;&quot;&gt;This
is important to remember because you don&#39;t have to manage how much memory is
jumped over, the compiler does all of this for you.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 111%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 2.6pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;Miscellaneous:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 6.3pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 111%; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 111%;&quot;&gt;Pointers can be constant, but since a pointer really has
two parts (the pointer itself and the address it points to), one or both or
neither can be constant. You do it like this:&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 111%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 111%; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 111%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 2.35pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;background-color: #ffe599; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 102%;&quot;&gt;const int
*p; /* The pointed-to value is const */&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 2.35pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;background-color: #ffe599; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 102%;&quot;&gt;int * const p; /* The pointer itself is
const */&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 2.35pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;background-color: #ffe599; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 102%;&quot;&gt;int *p; /* Both are not const */&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .05pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background-color: #ffe599; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;const&amp;nbsp; int&amp;nbsp;
* const&amp;nbsp; p;&amp;nbsp;
/*&amp;nbsp; Both&amp;nbsp; are&amp;nbsp;
const&amp;nbsp; */&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;br clear=&quot;all&quot; style=&quot;mso-break-type: section-break; page-break-before: always;&quot; /&gt;
&lt;/span&gt;

&lt;br /&gt;
&lt;div class=&quot;Section25&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;Pointer and Array:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 6.3pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;u&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;Pointer to an Array:&lt;/span&gt;&lt;/u&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 6.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;Declaration : (int*)
a[5];&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 6.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;Representaion:&lt;/span&gt;&lt;/div&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; margin-left: 141.0pt; mso-padding-alt: 0cm 0cm 0cm 0cm; mso-table-layout-alt: fixed;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;height: 17.6pt; mso-yfti-irow: 4; mso-yfti-lastrow: yes;&quot;&gt;&lt;td style=&quot;height: 17.6pt; padding: 0cm 0cm 0cm 0cm; width: 26.0pt;&quot; valign=&quot;bottom&quot; width=&quot;35&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td style=&quot;height: 17.6pt; padding: 0cm 0cm 0cm 0cm; width: 33.0pt;&quot; valign=&quot;bottom&quot; width=&quot;44&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;height: 17.6pt; padding: 0cm 0cm 0cm 0cm; width: 0cm;&quot; valign=&quot;bottom&quot; width=&quot;0&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;height: 4.65pt;&quot;&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 19.8pt;&quot;&gt;&lt;td style=&quot;height: 19.8pt; padding: 0cm; width: 26pt;&quot; valign=&quot;bottom&quot; width=&quot;35&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;height: 19.8pt; padding: 0cm; width: 105pt;&quot; valign=&quot;bottom&quot; width=&quot;140&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;height: 19.8pt; padding: 0cm; width: 0cm;&quot; valign=&quot;bottom&quot; width=&quot;0&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 4pt;&quot;&gt;&lt;td rowspan=&quot;2&quot; style=&quot;height: 4pt; padding: 0cm; width: 167pt;&quot; valign=&quot;bottom&quot; width=&quot;223&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 141pt;&quot;&gt;
&lt;span style=&quot;color: #1a1a1a; font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;a -&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border: none; height: 4pt; padding: 0cm; width: 33pt;&quot; valign=&quot;bottom&quot; width=&quot;44&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td rowspan=&quot;3&quot; style=&quot;height: 4pt; padding: 0cm; width: 26pt;&quot; valign=&quot;bottom&quot; width=&quot;35&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 7pt; text-align: right;&quot;&gt;
&lt;span style=&quot;color: #1a1a1a; font-family: Arial, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;height: 4pt; padding: 0cm; width: 105pt;&quot; valign=&quot;bottom&quot; width=&quot;140&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;height: 4pt; padding: 0cm; width: 0cm;&quot; valign=&quot;bottom&quot; width=&quot;0&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 12.3pt;&quot;&gt;&lt;td rowspan=&quot;3&quot; style=&quot;border: 1pt solid windowtext; height: 12.3pt; padding: 0cm; width: 33pt;&quot; valign=&quot;bottom&quot; width=&quot;44&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 7pt; text-align: right;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;100&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;height: 12.3pt; padding: 0cm; width: 105pt;&quot; valign=&quot;bottom&quot; width=&quot;140&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;height: 12.3pt; padding: 0cm; width: 0cm;&quot; valign=&quot;bottom&quot; width=&quot;0&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 1.7pt;&quot;&gt;&lt;td style=&quot;height: 1.7pt; padding: 0cm; width: 167pt;&quot; valign=&quot;bottom&quot; width=&quot;223&quot;&gt;&lt;/td&gt;&lt;td style=&quot;height: 1.7pt; padding: 0cm; width: 105pt;&quot; valign=&quot;bottom&quot; width=&quot;140&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;height: 1.7pt; padding: 0cm; width: 0cm;&quot; valign=&quot;bottom&quot; width=&quot;0&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 4.65pt;&quot;&gt;&lt;td style=&quot;height: 4.65pt; padding: 0cm; width: 167pt;&quot; valign=&quot;bottom&quot; width=&quot;223&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;height: 4.65pt; padding: 0cm; width: 26pt;&quot; valign=&quot;bottom&quot; width=&quot;35&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;height: 4.65pt; padding: 0cm; width: 105pt;&quot; valign=&quot;bottom&quot; width=&quot;140&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;height: 4.65pt; padding: 0cm; width: 0cm;&quot; valign=&quot;bottom&quot; width=&quot;0&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 14pt;&quot;&gt;&lt;td style=&quot;height: 14pt; padding: 0cm; width: 167pt;&quot; valign=&quot;bottom&quot; width=&quot;223&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td rowspan=&quot;2&quot; style=&quot;border: 1pt solid windowtext; height: 14pt; padding: 0cm; width: 33pt;&quot; valign=&quot;bottom&quot; width=&quot;44&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 7pt; text-align: right;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;101&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;height: 14pt; padding: 0cm; width: 26pt;&quot; valign=&quot;bottom&quot; width=&quot;35&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 7pt; text-align: right;&quot;&gt;
&lt;span style=&quot;color: #1a1a1a; font-family: Arial, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td rowspan=&quot;3&quot; style=&quot;height: 14pt; padding: 0cm; width: 105pt;&quot; valign=&quot;bottom&quot; width=&quot;140&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 12pt;&quot;&gt;
&lt;span style=&quot;color: #1a1a1a; font-family: Arial, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;height: 14pt; padding: 0cm; width: 0cm;&quot; valign=&quot;bottom&quot; width=&quot;0&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 4.55pt;&quot;&gt;&lt;td style=&quot;height: 4.55pt; padding: 0cm; width: 167pt;&quot; valign=&quot;bottom&quot; width=&quot;223&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;height: 4.55pt; padding: 0cm; width: 26pt;&quot; valign=&quot;bottom&quot; width=&quot;35&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;height: 4.55pt; padding: 0cm; width: 0cm;&quot; valign=&quot;bottom&quot; width=&quot;0&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 7.55pt;&quot;&gt;&lt;td style=&quot;height: 7.55pt; padding: 0cm; width: 167pt;&quot; valign=&quot;bottom&quot; width=&quot;223&quot;&gt;&lt;/td&gt;&lt;td rowspan=&quot;3&quot; style=&quot;border: 1pt solid windowtext; height: 7.55pt; padding: 0cm; width: 33pt;&quot; valign=&quot;bottom&quot; width=&quot;44&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 7pt; text-align: right;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;102&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td rowspan=&quot;2&quot; style=&quot;height: 7.55pt; padding: 0cm; width: 26pt;&quot; valign=&quot;bottom&quot; width=&quot;35&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 7pt; text-align: right;&quot;&gt;
&lt;span style=&quot;color: #1a1a1a; font-family: Arial, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;height: 7.55pt; padding: 0cm; width: 0cm;&quot; valign=&quot;bottom&quot; width=&quot;0&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 6.45pt;&quot;&gt;&lt;td style=&quot;height: 6.45pt; padding: 0cm; width: 167pt;&quot; valign=&quot;bottom&quot; width=&quot;223&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;td rowspan=&quot;2&quot; style=&quot;height: 6.45pt; padding: 0cm; width: 105pt;&quot; valign=&quot;bottom&quot; width=&quot;140&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 10.85pt; margin: 0cm 0cm 0cm 12pt;&quot;&gt;
&lt;span style=&quot;color: #1a1a1a; font-family: Arial, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;height: 6.45pt; padding: 0cm; width: 0cm;&quot; valign=&quot;bottom&quot; width=&quot;0&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 4.65pt;&quot;&gt;&lt;td style=&quot;height: 4.65pt; padding: 0cm; width: 167pt;&quot; valign=&quot;bottom&quot; width=&quot;223&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;height: 4.65pt; padding: 0cm; width: 26pt;&quot; valign=&quot;bottom&quot; width=&quot;35&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;height: 4.65pt; padding: 0cm; width: 0cm;&quot; valign=&quot;bottom&quot; width=&quot;0&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 13.4pt;&quot;&gt;&lt;td style=&quot;height: 13.4pt; padding: 0cm; width: 167pt;&quot; valign=&quot;bottom&quot; width=&quot;223&quot;&gt;&lt;/td&gt;&lt;td rowspan=&quot;2&quot; style=&quot;border: 1pt solid windowtext; height: 13.4pt; padding: 0cm; width: 33pt;&quot; valign=&quot;bottom&quot; width=&quot;44&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 7pt; text-align: right;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;103&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;height: 13.4pt; padding: 0cm; width: 26pt;&quot; valign=&quot;bottom&quot; width=&quot;35&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 13.4pt; margin: 0cm 0cm 0.0001pt 7pt; text-align: right;&quot;&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;td rowspan=&quot;2&quot; style=&quot;height: 13.4pt; padding: 0cm; width: 105pt;&quot; valign=&quot;bottom&quot; width=&quot;140&quot;&gt;&lt;/td&gt;&lt;td style=&quot;height: 13.4pt; padding: 0cm; width: 0cm;&quot; valign=&quot;bottom&quot; width=&quot;0&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #1a1a1a; font-family: Arial, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 5.15pt;&quot;&gt;&lt;td style=&quot;height: 5.15pt; padding: 0cm; width: 167pt;&quot; valign=&quot;bottom&quot; width=&quot;223&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;height: 5.15pt; padding: 0cm; width: 26pt;&quot; valign=&quot;bottom&quot; width=&quot;35&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;height: 5.15pt; padding: 0cm; width: 0cm;&quot; valign=&quot;bottom&quot; width=&quot;0&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 14pt;&quot;&gt;&lt;td style=&quot;height: 14pt; padding: 0cm; width: 167pt;&quot; valign=&quot;bottom&quot; width=&quot;223&quot;&gt;&lt;/td&gt;&lt;td rowspan=&quot;2&quot; style=&quot;border: 1pt solid windowtext; height: 14pt; padding: 0cm; width: 33pt;&quot; valign=&quot;bottom&quot; width=&quot;44&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 7pt; text-align: right;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;104&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;height: 14pt; padding: 0cm; width: 26pt;&quot; valign=&quot;bottom&quot; width=&quot;35&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 7pt; text-align: right;&quot;&gt;
&lt;span style=&quot;color: #1a1a1a; font-family: Arial, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;height: 14pt; padding: 0cm; width: 105pt;&quot; valign=&quot;bottom&quot; width=&quot;140&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;height: 14pt; padding: 0cm; width: 0cm;&quot; valign=&quot;bottom&quot; width=&quot;0&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div class=&quot;Section25&quot;&gt;
&lt;u style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/u&gt;&lt;/div&gt;
&lt;div class=&quot;Section25&quot;&gt;
&lt;u style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/u&gt;&lt;/div&gt;
&lt;div class=&quot;Section25&quot;&gt;
&lt;u style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/u&gt;&lt;/div&gt;
&lt;div class=&quot;Section25&quot;&gt;
&lt;u style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;a is a pointer
pointing to address&amp;nbsp; a[0], that is it is
pointing to address of 1.&lt;/u&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 6.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; mso-padding-alt: 0cm 0cm 0cm 0cm; mso-table-layout-alt: fixed;&quot;&gt;
 &lt;tbody&gt;
&lt;tr style=&quot;height: 15.35pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0;&quot;&gt;
  &lt;td colspan=&quot;2&quot; style=&quot;height: 15.35pt; padding: 0cm 0cm 0cm 0cm; width: 200.0pt;&quot; valign=&quot;bottom&quot; width=&quot;267&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;u&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;Array of Pointers:&lt;/span&gt;&lt;/u&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 15.35pt; padding: 0cm 0cm 0cm 0cm; width: 26.0pt;&quot; valign=&quot;bottom&quot; width=&quot;35&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 15.35pt; padding: 0cm 0cm 0cm 0cm; width: 105.0pt;&quot; valign=&quot;bottom&quot; width=&quot;140&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 15.35pt; padding: 0cm 0cm 0cm 0cm; width: 0cm;&quot; valign=&quot;bottom&quot; width=&quot;0&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 19.8pt; mso-yfti-irow: 1;&quot;&gt;
  &lt;td colspan=&quot;2&quot; style=&quot;height: 19.8pt; padding: 0cm 0cm 0cm 0cm; width: 200.0pt;&quot; valign=&quot;bottom&quot; width=&quot;267&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;Declaration : int*
  a[5];&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 19.8pt; padding: 0cm 0cm 0cm 0cm; width: 26.0pt;&quot; valign=&quot;bottom&quot; width=&quot;35&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 19.8pt; padding: 0cm 0cm 0cm 0cm; width: 105.0pt;&quot; valign=&quot;bottom&quot; width=&quot;140&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 19.8pt; padding: 0cm 0cm 0cm 0cm; width: 0cm;&quot; valign=&quot;bottom&quot; width=&quot;0&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 19.8pt; mso-yfti-irow: 2;&quot;&gt;
  &lt;td colspan=&quot;2&quot; style=&quot;height: 19.8pt; padding: 0cm 0cm 0cm 0cm; width: 200.0pt;&quot; valign=&quot;bottom&quot; width=&quot;267&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;Representaion:&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 19.8pt; padding: 0cm 0cm 0cm 0cm; width: 26.0pt;&quot; valign=&quot;bottom&quot; width=&quot;35&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 19.8pt; padding: 0cm 0cm 0cm 0cm; width: 105.0pt;&quot; valign=&quot;bottom&quot; width=&quot;140&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 19.8pt; padding: 0cm 0cm 0cm 0cm; width: 0cm;&quot; valign=&quot;bottom&quot; width=&quot;0&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 4.0pt; mso-yfti-irow: 3;&quot;&gt;&lt;td rowspan=&quot;2&quot; style=&quot;height: 4.0pt; padding: 0cm 0cm 0cm 0cm; width: 167.0pt;&quot; valign=&quot;bottom&quot; width=&quot;223&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 141pt;&quot;&gt;
&lt;span style=&quot;color: #1a1a1a; font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;a =&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border: none; height: 4.0pt; padding: 0cm 0cm 0cm 0cm; width: 33.0pt;&quot; valign=&quot;bottom&quot; width=&quot;44&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td rowspan=&quot;3&quot; style=&quot;height: 4.0pt; padding: 0cm 0cm 0cm 0cm; width: 26.0pt;&quot; valign=&quot;bottom&quot; width=&quot;35&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 7pt; text-align: right;&quot;&gt;
&lt;span style=&quot;color: #1a1a1a; font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 4.0pt; padding: 0cm 0cm 0cm 0cm; width: 105.0pt;&quot; valign=&quot;bottom&quot; width=&quot;140&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 4.0pt; padding: 0cm 0cm 0cm 0cm; width: 0cm;&quot; valign=&quot;bottom&quot; width=&quot;0&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 12.3pt; mso-yfti-irow: 4;&quot;&gt;
  &lt;td rowspan=&quot;3&quot; style=&quot;border-top: none; border: solid windowtext 1.0pt; height: 12.3pt; padding: 0cm 0cm 0cm 0cm; width: 33.0pt;&quot; valign=&quot;bottom&quot; width=&quot;44&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 7pt; text-align: right;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;100&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 12.3pt; padding: 0cm 0cm 0cm 0cm; width: 105.0pt;&quot; valign=&quot;bottom&quot; width=&quot;140&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 12.3pt; padding: 0cm 0cm 0cm 0cm; width: 0cm;&quot; valign=&quot;bottom&quot; width=&quot;0&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 1.7pt; mso-yfti-irow: 5;&quot;&gt;
  &lt;td style=&quot;height: 1.7pt; padding: 0cm 0cm 0cm 0cm; width: 167.0pt;&quot; valign=&quot;bottom&quot; width=&quot;223&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 1.7pt; padding: 0cm 0cm 0cm 0cm; width: 105.0pt;&quot; valign=&quot;bottom&quot; width=&quot;140&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 1.7pt; padding: 0cm 0cm 0cm 0cm; width: 0cm;&quot; valign=&quot;bottom&quot; width=&quot;0&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 4.65pt; mso-yfti-irow: 6;&quot;&gt;
  &lt;td style=&quot;height: 4.65pt; padding: 0cm 0cm 0cm 0cm; width: 167.0pt;&quot; valign=&quot;bottom&quot; width=&quot;223&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 4.65pt; padding: 0cm 0cm 0cm 0cm; width: 26.0pt;&quot; valign=&quot;bottom&quot; width=&quot;35&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 4.65pt; padding: 0cm 0cm 0cm 0cm; width: 105.0pt;&quot; valign=&quot;bottom&quot; width=&quot;140&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 4.65pt; padding: 0cm 0cm 0cm 0cm; width: 0cm;&quot; valign=&quot;bottom&quot; width=&quot;0&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 14.0pt; mso-yfti-irow: 7;&quot;&gt;
  &lt;td style=&quot;height: 14.0pt; padding: 0cm 0cm 0cm 0cm; width: 167.0pt;&quot; valign=&quot;bottom&quot; width=&quot;223&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td rowspan=&quot;2&quot; style=&quot;border-top: none; border: solid windowtext 1.0pt; height: 14.0pt; padding: 0cm 0cm 0cm 0cm; width: 33.0pt;&quot; valign=&quot;bottom&quot; width=&quot;44&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 7pt; text-align: right;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;101&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 14.0pt; padding: 0cm 0cm 0cm 0cm; width: 26.0pt;&quot; valign=&quot;bottom&quot; width=&quot;35&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 7pt; text-align: right;&quot;&gt;
&lt;span style=&quot;color: #1a1a1a; font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td rowspan=&quot;3&quot; style=&quot;height: 14.0pt; padding: 0cm 0cm 0cm 0cm; width: 105.0pt;&quot; valign=&quot;bottom&quot; width=&quot;140&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 12pt;&quot;&gt;
&lt;span style=&quot;color: #1a1a1a; font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;Pointers
  pointing to&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 14.0pt; padding: 0cm 0cm 0cm 0cm; width: 0cm;&quot; valign=&quot;bottom&quot; width=&quot;0&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 4.55pt; mso-yfti-irow: 8;&quot;&gt;
  &lt;td style=&quot;height: 4.55pt; padding: 0cm 0cm 0cm 0cm; width: 167.0pt;&quot; valign=&quot;bottom&quot; width=&quot;223&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 4.55pt; padding: 0cm 0cm 0cm 0cm; width: 26.0pt;&quot; valign=&quot;bottom&quot; width=&quot;35&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 4.55pt; padding: 0cm 0cm 0cm 0cm; width: 0cm;&quot; valign=&quot;bottom&quot; width=&quot;0&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 7.55pt; mso-yfti-irow: 9;&quot;&gt;
  &lt;td style=&quot;height: 7.55pt; padding: 0cm 0cm 0cm 0cm; width: 167.0pt;&quot; valign=&quot;bottom&quot; width=&quot;223&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td rowspan=&quot;3&quot; style=&quot;border-top: none; border: solid windowtext 1.0pt; height: 7.55pt; padding: 0cm 0cm 0cm 0cm; width: 33.0pt;&quot; valign=&quot;bottom&quot; width=&quot;44&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 7pt; text-align: right;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;102&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td rowspan=&quot;2&quot; style=&quot;height: 7.55pt; padding: 0cm 0cm 0cm 0cm; width: 26.0pt;&quot; valign=&quot;bottom&quot; width=&quot;35&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 7pt; text-align: right;&quot;&gt;
&lt;span style=&quot;color: #1a1a1a; font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 7.55pt; padding: 0cm 0cm 0cm 0cm; width: 0cm;&quot; valign=&quot;bottom&quot; width=&quot;0&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 6.45pt; mso-yfti-irow: 10;&quot;&gt;
  &lt;td style=&quot;height: 6.45pt; padding: 0cm 0cm 0cm 0cm; width: 167.0pt;&quot; valign=&quot;bottom&quot; width=&quot;223&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td rowspan=&quot;2&quot; style=&quot;height: 6.45pt; padding: 0cm 0cm 0cm 0cm; width: 105.0pt;&quot; valign=&quot;bottom&quot; width=&quot;140&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 10.85pt; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 12.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: #1a1a1a; font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;other
  memory&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 6.45pt; padding: 0cm 0cm 0cm 0cm; width: 0cm;&quot; valign=&quot;bottom&quot; width=&quot;0&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 4.65pt; mso-yfti-irow: 11;&quot;&gt;
  &lt;td style=&quot;height: 4.65pt; padding: 0cm 0cm 0cm 0cm; width: 167.0pt;&quot; valign=&quot;bottom&quot; width=&quot;223&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 4.65pt; padding: 0cm 0cm 0cm 0cm; width: 26.0pt;&quot; valign=&quot;bottom&quot; width=&quot;35&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 4.65pt; padding: 0cm 0cm 0cm 0cm; width: 0cm;&quot; valign=&quot;bottom&quot; width=&quot;0&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 13.4pt; mso-yfti-irow: 12;&quot;&gt;
  &lt;td style=&quot;height: 13.4pt; padding: 0cm 0cm 0cm 0cm; width: 167.0pt;&quot; valign=&quot;bottom&quot; width=&quot;223&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td rowspan=&quot;2&quot; style=&quot;border-top: none; border: solid windowtext 1.0pt; height: 13.4pt; padding: 0cm 0cm 0cm 0cm; width: 33.0pt;&quot; valign=&quot;bottom&quot; width=&quot;44&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 7pt; text-align: right;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;103&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 13.4pt; padding: 0cm 0cm 0cm 0cm; width: 26.0pt;&quot; valign=&quot;bottom&quot; width=&quot;35&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 13.4pt; margin: 0cm 0cm 0.0001pt 7pt; text-align: right;&quot;&gt;
&lt;span style=&quot;color: #1a1a1a; font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td rowspan=&quot;2&quot; style=&quot;height: 13.4pt; padding: 0cm 0cm 0cm 0cm; width: 105.0pt;&quot; valign=&quot;bottom&quot; width=&quot;140&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 12pt;&quot;&gt;
&lt;span style=&quot;color: #1a1a1a; font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;location&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 13.4pt; padding: 0cm 0cm 0cm 0cm; width: 0cm;&quot; valign=&quot;bottom&quot; width=&quot;0&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 5.15pt; mso-yfti-irow: 13;&quot;&gt;
  &lt;td style=&quot;height: 5.15pt; padding: 0cm 0cm 0cm 0cm; width: 167.0pt;&quot; valign=&quot;bottom&quot; width=&quot;223&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 5.15pt; padding: 0cm 0cm 0cm 0cm; width: 26.0pt;&quot; valign=&quot;bottom&quot; width=&quot;35&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 5.15pt; padding: 0cm 0cm 0cm 0cm; width: 0cm;&quot; valign=&quot;bottom&quot; width=&quot;0&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 14.0pt; mso-yfti-irow: 14;&quot;&gt;
  &lt;td style=&quot;height: 14.0pt; padding: 0cm 0cm 0cm 0cm; width: 167.0pt;&quot; valign=&quot;bottom&quot; width=&quot;223&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td rowspan=&quot;2&quot; style=&quot;border-top: none; border: solid windowtext 1.0pt; height: 14.0pt; padding: 0cm 0cm 0cm 0cm; width: 33.0pt;&quot; valign=&quot;bottom&quot; width=&quot;44&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 7pt; text-align: right;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;104&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 14.0pt; padding: 0cm 0cm 0cm 0cm; width: 26.0pt;&quot; valign=&quot;bottom&quot; width=&quot;35&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 7pt; text-align: right;&quot;&gt;
&lt;span style=&quot;color: #1a1a1a; font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 14.0pt; padding: 0cm 0cm 0cm 0cm; width: 105.0pt;&quot; valign=&quot;bottom&quot; width=&quot;140&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 14.0pt; padding: 0cm 0cm 0cm 0cm; width: 0cm;&quot; valign=&quot;bottom&quot; width=&quot;0&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 4.65pt; mso-yfti-irow: 15;&quot;&gt;
  &lt;td style=&quot;height: 4.65pt; padding: 0cm 0cm 0cm 0cm; width: 167.0pt;&quot; valign=&quot;bottom&quot; width=&quot;223&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 4.65pt; padding: 0cm 0cm 0cm 0cm; width: 26.0pt;&quot; valign=&quot;bottom&quot; width=&quot;35&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 4.65pt; padding: 0cm 0cm 0cm 0cm; width: 105.0pt;&quot; valign=&quot;bottom&quot; width=&quot;140&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 4.65pt; padding: 0cm 0cm 0cm 0cm; width: 0cm;&quot; valign=&quot;bottom&quot; width=&quot;0&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 14.8pt; mso-yfti-irow: 16; mso-yfti-lastrow: yes;&quot;&gt;
  &lt;td style=&quot;height: 14.8pt; padding: 0cm 0cm 0cm 0cm; width: 167.0pt;&quot; valign=&quot;bottom&quot; width=&quot;223&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b style=&quot;font-family: Arial, Helvetica, sans-serif; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;font-family: Arial, Helvetica, sans-serif; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;height: 14.8pt; padding: 0cm 0cm 0cm 0cm; width: 33.0pt;&quot; valign=&quot;bottom&quot; width=&quot;44&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 14.8pt; padding: 0cm 0cm 0cm 0cm; width: 26.0pt;&quot; valign=&quot;bottom&quot; width=&quot;35&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;height: 14.8pt; padding: 0cm 0cm 0cm 0cm; width: 105.0pt;&quot; valign=&quot;bottom&quot; width=&quot;140&quot;&gt;&lt;/td&gt;&lt;td style=&quot;height: 14.8pt; padding: 0cm 0cm 0cm 0cm; width: 0cm;&quot; valign=&quot;bottom&quot; width=&quot;0&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;a is and array containing pointers&lt;/b&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;101 is a pointer
pointing to address&amp;nbsp; of another memory
location.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 15.5pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;Pointer and
Functions:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 6.3pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;u&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;Pointer to a
function:&lt;/span&gt;&lt;/u&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 6.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 103%; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 103%;&quot;&gt;There are two uses of a function, call it, or take its
address. If you aren&#39;t calling a function then you can assign its address to a
pointer. The declaration for a pointer to a function is complex, just pretend
you&#39;re writing a function prototype, then prefix the name with * and surround
both with parentheses:&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 103%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 3.4pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #ffe599;&quot;&gt;void (*pf)(void); /* Pointer to a function that takes no args and returns nothing */ &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;Now you can assign a
function with the same type:&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #ffe599;&quot;&gt;void  f(void) { &lt;br /&gt;printf(&quot;Hello,  world!\n&quot;); &lt;br /&gt;} &lt;br /&gt;pf  =  f;  /*  Not  calling  f,  must  be  taking  the  address  */ &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;Now that pf points to
f, you can call f *through* pf:&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #ffe599;&quot;&gt;(*pf)();  or  pf();  //both  are  same&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;Pointers can also
point to other pointers:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;Section27&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 6.3pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 105%; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-align: justify; text-autospace: none; text-justify: inter-ideograph;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; line-height: 105%;&quot;&gt;The
standard example of a pointer to a pointer is in the case of memory allocation.
Say you want to pass a pointer to a function and allocate memory to it. You
want to return an error code, so returning the freshly allocated memory isn&#39;t
an option:&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 105%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 3.2pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;int&amp;nbsp; allocme(int&amp;nbsp;
*parray)&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .35pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .25pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 24pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;parray&amp;nbsp;
=&amp;nbsp; malloc(10&amp;nbsp; *&amp;nbsp;
sizeof&amp;nbsp; (int));&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 11.95pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 127%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 48.0pt; margin-right: 342.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none; text-indent: -24.1pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 127%;&quot;&gt;if (parray == NULL) return -1;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 127%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 6.1pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 24pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;return&amp;nbsp;
0;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .25pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 11.95pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;...&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 11.95pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;int&amp;nbsp; *pa;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 11.95pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;if&amp;nbsp; (allocme(pa)&amp;nbsp;
!=&amp;nbsp; -1)&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .35pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 24pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;/*&amp;nbsp;
All&amp;nbsp; is&amp;nbsp; well,&amp;nbsp;
use&amp;nbsp; pa&amp;nbsp; */&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 18.8pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 116%; margin: 0cm 0cm 0.0001pt 5pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;This looks like it should work fine.
By passing a pointer to int you can change the original, right? Right, but
that&#39;s not what we want to do. We want to change the *pointer* that points to
int, not the int that it points to. This is a problem because the pointer is a
copy. The solution is the same as when we wanted to make changes to the
original structure variable, pass a pointer to it. :)&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 116%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 1.85pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;int&amp;nbsp; allocme(int&amp;nbsp;
**pparray)&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .25pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .35pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 24pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;*pparray&amp;nbsp;
=&amp;nbsp; malloc(10&amp;nbsp; *&amp;nbsp;
sizeof&amp;nbsp; (int));&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 11.95pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 126%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 48.0pt; margin-right: 330.0pt; margin-top: 0cm; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none; text-indent: -24.1pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 126%;&quot;&gt;if (*pparray == NULL) return -1;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 126%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 6.2pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 24pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;return&amp;nbsp;
0;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .35pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 11.95pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;...&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 11.95pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;int&amp;nbsp; *pa;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 11.95pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;if&amp;nbsp; (allocme(&amp;amp;pa)&amp;nbsp; !=&amp;nbsp; -1)&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .25pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0.0001pt 24pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;/*&amp;nbsp;
All&amp;nbsp; is&amp;nbsp; well,&amp;nbsp;
use&amp;nbsp; pa&amp;nbsp; */&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 18.8pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 116%; margin: 0cm 0cm 0.0001pt 3pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Once again note that the syntax for a
double pointer is consistent with a single pointer, just tack on an extra * for
the declaration and dereference. Just make sure that you dereference the outer
pointer first. Pointers to pointers to structures can cause problems because of
this and when you want to access a member you have to surround the first
dereference with parentheses:&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 116%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 1.85pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;struct&amp;nbsp; MYSTRUCT&amp;nbsp;
**ppmys;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .35pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;...&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .25pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 127%;&quot;&gt;(*ppmys)-&amp;gt;member;
/* Works okay */&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: .25pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 127%;&quot;&gt;*ppmys-&amp;gt;member; /* Doesn&#39;t work right */&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;br clear=&quot;all&quot; style=&quot;mso-break-type: section-break; page-break-before: auto;&quot; /&gt;
&lt;/span&gt;

&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yoembeddedc.blogspot.com/feeds/7092686768663772950/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yoembeddedc.blogspot.com/2012/06/embedded-c-for-beginners-using-atmega32.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4328364595668161353/posts/default/7092686768663772950'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4328364595668161353/posts/default/7092686768663772950'/><link rel='alternate' type='text/html' href='http://yoembeddedc.blogspot.com/2012/06/embedded-c-for-beginners-using-atmega32.html' title='Embedded C for beginners - Using ATmega32'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08596279255094307943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlVXUoZ4GzHdNwwwAJDqSS03d9TJgh0o8_NqQUfpNWa94Kb4X0jksmFMJ5oTuqQU0Nx-vBu1Wq42oHoxuTWyjBASVX9bydtSqoU60oA_GiwbOLQy0QfLFHXrSTqq6VrZ4Nobkf8yU22ueO/s72-c/1st+image.jpg" height="72" width="72"/><thr:total>0</thr:total></entry></feed>