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

@@ -19,7 +19,7 @@ int main(void) // Main : Execution starts here...
for ( i = 0 ; i < 10 ; i++ )
printf ("Item %d contains value %d\n", i, pArray[i] );
printf ("Pointer method 1\n");
printf ("Pointer method 2 using index\n");
for ( i = 0 ; i < 10 ; i++ )
printf ("Item %d contains value %d\n", i, *(pArray+i) );
@@ -27,7 +27,6 @@ int main(void) // Main : Execution starts here...
for ( i = 0 ; i < 10 ; i++ )
printf ("Item %d contains value %d\n", i, *pArray++ );
// Exit the application
return 0;
}