C++ Create and invoke a function that returns a value. Show an example of how this is done. Create a

C++

Create and invoke a function that returns a value. Show an example of how this is done.

Create and invoke a function that does not return a value. This called a void function. Show an example of a void function and how it is called from the main program.

What is passing by value vs by reference. Show examples.

What is a function prototype. Show an example of a function prototype

Define what we mean by a variable’s scope and lifetime. Show an example to help you define this concept.

What is a one dimensional array. Show an example of declaring a one dimensional array.

Give an example of how you get data into a one dimensional array from the keyboard.  

Give an example of how to display data from #7 above.

Give an example of how to pass a one-dimensional array to a function

Define parallel one-dimensional arrays and show an example that demonstarate the use of parallel arrays.

What is a twodimensional array. Show an example of declaring a two dimensional array.

Give an example of how you get data into a two dimensional array from the keyboard.  

Give an example of how to display data from #12 above.

 

Looking for a Similar Assignment? Hire our Top Uk Tutors while you enjoy your free time! All papers are written from scratch and are 100% Original. Try us today! Active Discount Code FREE15