<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>POINTERS by Yeşim Arslan</title>
      <link>https://padlet.com/yesimarslan_91/6oc8m01nr1yy</link>
      <description></description>
      <language>en-us</language>
      <pubDate>2017-01-06 10:55:37 UTC</pubDate>
      <lastBuildDate>2017-05-17 02:17:49 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url></url>
      </image>
      <item>
         <title>Pointers and Strings</title>
         <author>yesimarslan_91</author>
         <link>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145653547</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2017-01-06 10:56:10 UTC</pubDate>
         <guid>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145653547</guid>
      </item>
      <item>
         <title></title>
         <author>yesimarslan_91</author>
         <link>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145653593</link>
         <description><![CDATA[<div>•Pointers&nbsp;</div><div>–Powerful, but difficult to master</div><div>–Simulate pass-by-reference&nbsp;</div><div>–Close relationship with arrays and strings</div>]]></description>
         <enclosure url="" />
         <pubDate>2017-01-06 10:56:45 UTC</pubDate>
         <guid>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145653593</guid>
      </item>
      <item>
         <title>Pointer Variable Declarations and Initialization</title>
         <author>yesimarslan_91</author>
         <link>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145653616</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2017-01-06 10:56:58 UTC</pubDate>
         <guid>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145653616</guid>
      </item>
      <item>
         <title></title>
         <author>yesimarslan_91</author>
         <link>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145653654</link>
         <description><![CDATA[<div>•Can declare pointers to any data type</div><div>•Pointer initialization</div><div>–Initialized to <strong>0</strong>, <strong>NULL</strong>, or address</div><div>•<strong>0</strong> or <strong>NULL</strong> points to nothing</div>]]></description>
         <enclosure url="" />
         <pubDate>2017-01-06 10:57:18 UTC</pubDate>
         <guid>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145653654</guid>
      </item>
      <item>
         <title>Pointer Operators</title>
         <author>yesimarslan_91</author>
         <link>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145653671</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2017-01-06 10:57:31 UTC</pubDate>
         <guid>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145653671</guid>
      </item>
      <item>
         <title></title>
         <author>yesimarslan_91</author>
         <link>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145653692</link>
         <description><![CDATA[<div>•<strong>&amp;</strong> (address operator)</div><div>–Returns memory address of its operand</div><div>–Example</div><div><strong><br>  int y = 5;<br>int *yPtr;<br>yPtr = &amp;y;    // yPtr gets address of y</strong></div><div>–<strong>yPtr</strong> “points to” <strong>y</strong></div>]]></description>
         <enclosure url="" />
         <pubDate>2017-01-06 10:57:45 UTC</pubDate>
         <guid>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145653692</guid>
      </item>
      <item>
         <title>Pointer Operators</title>
         <author>yesimarslan_91</author>
         <link>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145653728</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2017-01-06 10:58:04 UTC</pubDate>
         <guid>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145653728</guid>
      </item>
      <item>
         <title></title>
         <author>yesimarslan_91</author>
         <link>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145653815</link>
         <description><![CDATA[<div>•<strong>*</strong> (indirection/dereferencing operator)</div><div>–Returns synonym for object its pointer operand points to</div><div>–<strong>*yPtr</strong> returns <strong>y</strong> (because <strong>yPtr</strong> points to <strong>y</strong>).</div><div>–dereferenced pointer is lvalue</div><div><strong><br>*yptr = 9;&nbsp; &nbsp; &nbsp; // assigns 9 to y</strong></div><div>•<strong>*</strong>&nbsp; and <strong>&amp;</strong> are inverses of each other</div>]]></description>
         <enclosure url="" />
         <pubDate>2017-01-06 10:58:20 UTC</pubDate>
         <guid>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145653815</guid>
      </item>
      <item>
         <title>Calling Functions by Reference</title>
         <author>yesimarslan_91</author>
         <link>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145653843</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2017-01-06 10:58:31 UTC</pubDate>
         <guid>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145653843</guid>
      </item>
      <item>
         <title></title>
         <author>yesimarslan_91</author>
         <link>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145653870</link>
         <description><![CDATA[<div>•3 ways to pass arguments to function</div><div>–Pass-by-value</div><div>–Pass-by-reference with reference arguments</div><div>–Pass-by-reference with pointer arguments</div><div>•return can return one value from function</div><div>•Arguments passed to function using reference arguments</div><div>–Modify original values of arguments</div><div>–More than one value “returned”</div>]]></description>
         <enclosure url="" />
         <pubDate>2017-01-06 10:58:53 UTC</pubDate>
         <guid>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145653870</guid>
      </item>
      <item>
         <title>Using const with Pointers</title>
         <author>yesimarslan_91</author>
         <link>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145653897</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2017-01-06 10:59:14 UTC</pubDate>
         <guid>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145653897</guid>
      </item>
      <item>
         <title></title>
         <author>yesimarslan_91</author>
         <link>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145653920</link>
         <description><![CDATA[<div>•<strong>const</strong> qualifier</div><div>–Value of variable should not be modified</div><div>–<strong>const</strong> used when function does not need to change a variable</div><div>•Principle of least privilege</div><div>–Award function enough access to accomplish task, but no more</div><div>•Four ways to pass pointer to function</div><div>–Nonconstant pointer to nonconstant data</div><div>•Highest amount of access</div><div>–Nonconstant pointer to constant data</div><div>–Constant pointer to nonconstant data</div><div>–Constant pointer to constant data</div><div>•Least amount of access</div>]]></description>
         <enclosure url="" />
         <pubDate>2017-01-06 10:59:26 UTC</pubDate>
         <guid>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145653920</guid>
      </item>
      <item>
         <title>Bubble Sort Using Pass-by-Reference</title>
         <author>yesimarslan_91</author>
         <link>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145653943</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2017-01-06 10:59:49 UTC</pubDate>
         <guid>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145653943</guid>
      </item>
      <item>
         <title></title>
         <author>yesimarslan_91</author>
         <link>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145653970</link>
         <description><![CDATA[<div>•Implement <strong>bubbleSort</strong> using pointers</div><div>–Want function <strong>swap</strong> to access array elements</div><div>•Individual array elements: scalars</div><div>–Passed by value by default</div><div>•Pass by reference using address operator <strong>&amp;</strong></div>]]></description>
         <enclosure url="" />
         <pubDate>2017-01-06 11:00:02 UTC</pubDate>
         <guid>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145653970</guid>
      </item>
      <item>
         <title>Bubble Sort Using Pass-by-Reference</title>
         <author>yesimarslan_91</author>
         <link>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145653999</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2017-01-06 11:00:22 UTC</pubDate>
         <guid>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145653999</guid>
      </item>
      <item>
         <title></title>
         <author>yesimarslan_91</author>
         <link>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145654017</link>
         <description><![CDATA[<div>•<strong>sizeof</strong></div><div>–Unary operator returns size of operand in bytes</div><div>–For arrays, <strong>sizeof</strong> returns</div><div><br>( size of 1 element ) * ( number of elements )</div><div>–If <strong>sizeof( int ) = 4</strong>, then</div><div><strong><br>intmyArray[10];</strong></div><div><strong><br>cout &lt;&lt; sizeof(myArray);</strong></div><div><br>     will print 40</div><div>•<strong>sizeof</strong> can be used with</div><div>–Variable names</div><div>–Type names</div><div>–Constant values</div>]]></description>
         <enclosure url="" />
         <pubDate>2017-01-06 11:00:34 UTC</pubDate>
         <guid>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145654017</guid>
      </item>
      <item>
         <title>Pointer Expressions and Pointer Arithmetic</title>
         <author>yesimarslan_91</author>
         <link>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145654045</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2017-01-06 11:00:54 UTC</pubDate>
         <guid>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145654045</guid>
      </item>
      <item>
         <title></title>
         <author>yesimarslan_91</author>
         <link>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145654059</link>
         <description><![CDATA[<div>•Pointer arithmetic</div><div>–Increment/decrement pointer  <strong>(++</strong> or <strong>--</strong>)</div><div>–Add/subtract an integer to/from a pointer( <strong>+</strong> or <strong>+=</strong> , <strong>-</strong> or <strong>-=</strong>)</div><div>–Pointers may be subtracted from each other</div><div>–Pointer arithmetic meaningless unless performed on pointer to array</div><div>•5 element <strong>int</strong> array on a machine using 4 byte <strong>int</strong>s</div><div>–<strong>vPtr</strong> points to first element <strong>v[ 0 ]</strong>, which is at location 3000</div><div><strong><br>vPtr = 3000</strong></div><div>–<strong>vPtr += 2</strong>; sets <strong>vPtr</strong> to <strong>3008</strong></div><div><strong><br>vPtr</strong> points to <strong>v[ 2 ]</strong></div>]]></description>
         <enclosure url="" />
         <pubDate>2017-01-06 11:01:07 UTC</pubDate>
         <guid>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145654059</guid>
      </item>
      <item>
         <title>Relationship Between Pointers and Arrays</title>
         <author>yesimarslan_91</author>
         <link>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145654085</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2017-01-06 11:01:28 UTC</pubDate>
         <guid>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145654085</guid>
      </item>
      <item>
         <title></title>
         <author>yesimarslan_91</author>
         <link>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145654103</link>
         <description><![CDATA[<div>•Arrays and pointers closely related</div><div>–Array name like constant pointer</div><div>–Pointers can do array subscripting operations</div><div>•Accessing array elements with pointers</div><div>–Element <strong>b[ n ]</strong> can be accessed by  <strong>*( bPtr + n )</strong></div><div>•Called pointer/offset notation</div><div>–Addresses</div><div>•<strong>&amp;b[ 3 ]</strong> same as <strong>bPtr + 3</strong></div><div>–Array name can be treated as pointer</div><div>•<strong>b[ 3 ]</strong> same as<strong> *( b + 3 )</strong></div><div>–Pointers can be subscripted (pointer/subscript notation)</div><div>•<strong>bPtr[ 3 ]</strong> same as <strong>b[ 3 ]</strong></div>]]></description>
         <enclosure url="" />
         <pubDate>2017-01-06 11:01:37 UTC</pubDate>
         <guid>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145654103</guid>
      </item>
      <item>
         <title>Arrays of Pointers</title>
         <author>yesimarslan_91</author>
         <link>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145654139</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2017-01-06 11:01:55 UTC</pubDate>
         <guid>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145654139</guid>
      </item>
      <item>
         <title></title>
         <author>yesimarslan_91</author>
         <link>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145654171</link>
         <description><![CDATA[<div>•Arrays can contain pointers</div><div>–Commonly used to store array of strings</div><div><strong><br>char *suit[ 4 ] = {"Hearts", "Diamonds",<br>                   "Clubs", "Spades" };</strong></div><div>–Each element of <strong>suit</strong> points to <strong>char *</strong> (a string)</div><div>–Array does not store strings, only pointers to strings</div>]]></description>
         <enclosure url="" />
         <pubDate>2017-01-06 11:02:22 UTC</pubDate>
         <guid>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145654171</guid>
      </item>
      <item>
         <title>Function Pointers</title>
         <author>yesimarslan_91</author>
         <link>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145654210</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2017-01-06 11:02:57 UTC</pubDate>
         <guid>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145654210</guid>
      </item>
      <item>
         <title></title>
         <author>yesimarslan_91</author>
         <link>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145654247</link>
         <description><![CDATA[<div>•Pointers to functions</div><div>–Contain address of function</div><div>–Similar to how array name is address of first element</div><div>–Function name is starting address of code that defines function</div><div>•Function pointers can be </div><div>–Passed to functions</div><div>–Returned from functions</div><div>–Stored in arrays</div><div>–Assigned to other function pointers</div>]]></description>
         <enclosure url="" />
         <pubDate>2017-01-06 11:03:15 UTC</pubDate>
         <guid>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145654247</guid>
      </item>
      <item>
         <title>Fundamentals of Characters and Strings</title>
         <author>yesimarslan_91</author>
         <link>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145654263</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2017-01-06 11:03:35 UTC</pubDate>
         <guid>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145654263</guid>
      </item>
      <item>
         <title></title>
         <author>yesimarslan_91</author>
         <link>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145654277</link>
         <description><![CDATA[<div>•Character constant</div><div>–Integer value represented as character in single quotes</div><div>–<strong>'z'</strong> is integer value of <strong>z</strong></div><div>•<strong>122</strong> in ASCII</div><div>•String</div><div>–Series of characters treated as single unit</div><div>–Can include letters, digits, special characters&nbsp; <strong>+</strong>, <strong>-</strong>, <strong>*</strong> ...</div><div>–String literal (string constants)</div><div>•Enclosed in double quotes, for example:</div><div><strong><br></strong><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2017-01-06 11:03:49 UTC</pubDate>
         <guid>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145654277</guid>
      </item>
      <item>
         <title>String Manipulation Functions of the String-handling Library</title>
         <author>yesimarslan_91</author>
         <link>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145654349</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2017-01-06 11:04:27 UTC</pubDate>
         <guid>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145654349</guid>
      </item>
      <item>
         <title></title>
         <author>yesimarslan_91</author>
         <link>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145654379</link>
         <description><![CDATA[<div>•Copying strings</div><div>–<strong>char *strcpy( char *s1, const char *s2 )</strong></div><div>•Copies second argument into first argument</div><div>–First argument must be large enough to store string and terminating null character</div><div>–<strong>char *strncpy( char *s1, const char *s2,      size_t n )</strong></div><div>•Specifies number of characters to be copied from string into array</div><div>•Does not necessarily copy terminating null character</div>]]></description>
         <enclosure url="" />
         <pubDate>2017-01-06 11:04:44 UTC</pubDate>
         <guid>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145654379</guid>
      </item>
      <item>
         <title>String Manipulation Functions of the String-handling Library</title>
         <author>yesimarslan_91</author>
         <link>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145654421</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2017-01-06 11:05:15 UTC</pubDate>
         <guid>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145654421</guid>
      </item>
      <item>
         <title></title>
         <author>yesimarslan_91</author>
         <link>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145654444</link>
         <description><![CDATA[<div>•Tokenizing</div><div>–Breaking strings into tokens, separated by delimiting characters</div><div>–Tokens usually logical units, such as words (separated by spaces)</div><div>–<strong>"This is my string"</strong> has 4 word tokens (separated by spaces)</div><div>–<strong>char *strtok( char *s1, const char *s2 )</strong></div><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2017-01-06 11:05:29 UTC</pubDate>
         <guid>https://padlet.com/yesimarslan_91/6oc8m01nr1yy/wish/145654444</guid>
      </item>
   </channel>
</rss>
