Changes to file structure for VSCode and bug fixes

This commit is contained in:
Louise Brown
2022-11-14 13:51:40 +00:00
parent 7fd908108a
commit caee190d05
41 changed files with 346 additions and 124 deletions

View File

@@ -17,7 +17,7 @@
int main(void)
{
int *ipArray = NULL; /* Create the pointer and set */
/* to null to start with */
/* to null to start with */
int iSize = 0; /* Define our 'size' variable */
int i; /* A Loop variables */

View File

@@ -46,6 +46,7 @@ int main(void)
/* Populate the array (Method 2 - Use Pointers: This is much faster !) */
for ( i = 0 ; i < iSize ; i++ )
*ipArray++ = iSize - i;
/* Reset the pointer to the origin of the array */
ipArray = ipStartValue;