Functions in C++ - Reading Assignment


#101
  1. What is a function?

A function is a reusable sequence of statements designed to do a particular job.

  1. What function is run first of all in a C++ program?

main()

  1. What are return values?

The actual value returned from a function is called the return value

  1. Are nested functions allowed in C++?

no


#102
  1. It a sequence of reusable statements design to do a specific task
  2. main()
  3. A return value is a value returned by a called function to the caller function upon completion of that function
  4. No

#103

1. What is a function?
A function is a set of code statements written to perform a specific task, as many times as needed.

2. What function is run first of all in a C++ program?
A function called main()

3. What are return values?
A return value is one that results from performing or executing a function. Not all functions require a return value. A return value is an integer. A return value of 0 (zero) usually means success and a 1 (one) usually means failure. But the programmer can assign whatever meaning they see fit to a return value.

4. Are nested functions allowed in C++?
No. Nested functions are not allowed in C++.


#104
    1. What is a function?

	A "function" is a reusable sequence of statements designed to do a particular job.

    2. What function is run first of all in a C++ program?

	main()
    
    3. What are return values?

	The actual values returned from a function

    4. Are nested functions allowed in C++?

	No.

#105

It seems to me that the link isn’t working anymore ?