Question: What is the difference between an array that is declared as static and one that is not?
Instructor answer: The static arrays are intialized only once when the function is called.

Student answer: The array that is declared static retains its modified elements so once it is called upon again the latest elements are modified again.  An array that is not declared static will keep its original elements.
Score (0-5): 5

Student answer: A static array only has a specific size and it cannot grow. Also static arrays cannot be accessed outside the program which created it.
Score (0-5): 3

Student answer: Arrays declared as static are not created and initialized when a function is called and destroyed when the function terminates.
Score (0-5): 5

Student answer: Static can be initialized and non-static cannot in C++.
Score (0-5): 2.5

Student answer: An array declared static remains the same throughout the execution of the program.
Score (0-5): 2.5

Student answer: a static array will be called only once. once it has been declared the complier will ignore the static line if it comes to it again.
Score (0-5): 4.5

Student answer: The static array will be available to the whole of the program, whereas an array that is not static is only available within the scope in which it is declared. <br><br>//pass-by-reference???
Score (0-5): 4

Student answer: a static array has a predetermined size and that size cannot be altered
Score (0-5): 3

Student answer: Arrays declared static can not be changed.  One not declared static can be altered.
Score (0-5): 2.5

Student answer: an array that is declared as static will retain the values stored in it's elements between function calls, and will not reinitialize them to default values.
Score (0-5): 4.5

Student answer: An array that is declared static causes anything that is not initialized to be set to 0.
Score (0-5): 2.5

Student answer: A static array will have a null character at the end of the array.
Score (0-5): 3

Student answer: static arrays cannot be changed while normal arrays can be changed
Score (0-5): 2.5

Student answer: An array they is declared as static can be accessed outside of the method it was declared without passing it as an argument to other functions in the same class.
Score (0-5): 3

Student answer: A static array has class scope, allowing it to remain where other arrays might be recycled.
Score (0-5): 4

Student answer: An array that is static does not change or uninitialize if called later unless explicitly acted upon.  It does not terminate or change across objects.<br><br>An automatic local array will be cleared and uninitialized if called later outside of it's specific scope.
Score (0-5): 5

Student answer: one declared as static is one that is already defined. The program knows the length and the array from the start, whereas non-static arrays are declared or assigned later.
Score (0-5): 3

Student answer: a non static array must reinitialize itself every function call, while a static array will only initialize itself once, unless otherwise forced.
Score (0-5): 5

Student answer: A static array retains any modified values after a function call.<br>Automatic arrays reset to their initial values when the function ends.
Score (0-5): 4.5

Student answer: a static array is one that keeps its values and is not initialized every time a class function is called, it's data is not lost at function end.
Score (0-5): 4.5

Student answer: an array that is declared as static can only be used in the function that its being called in. Its a constant array. Static is another way of say const.
Score (0-5): 2.5

Student answer: Values in an array that is not delcared as static will remain constant.  When an array is declared const values within the array can be manipulated.
Score (0-5): 2.5

Student answer: the data of a static array cannot be changed
Score (0-5): 2.5

Student answer: Standard arrays terminate when the functions that call them finish.<br>A static array is not removed from memory when it's parent function terminates, leaving it available for other functions (or new instances of the original function).
Score (0-5): 4

Student answer: by defining static array it doese not lose scope in locala function. static array makes programm more scalable.<br>non static array lose scope inside the local function.
Score (0-5): 4.5

Student answer: static arrays can be called from anywhere
Score (0-5): 2

Student answer: A static array cannot be changed. A regular array can be changed when it is passed to a function or manually.
Score (0-5): 2.5

Student answer: a static array can be can be edited throughout the program, while a non-static array can only be edited within a given function
Score (0-5): 3.5

Student answer: An array that is declared static is allocated when the program begins to run, and is not freed until the program exits, but has limited scope. A non-static array is allocated and freed every time that it comes in and out of scope.
Score (0-5): 4.5

Student answer: static has a predetermined size that cannot be passed while vis versa.
Score (0-5): 3