Functions definitions can be written in files for reusabilit
Function\'s definitions can be written in files for reusability (a) Text files (b) Math files (c) Header files (d) None A local variable defined in one function can be used by other functions is program (a) True (b) False C++ provides us a way to skip the function prototype? (a) True (b) False
Solution
Question 1:
Answer: c) header files
Question 2:
Answer: False
A local variables declared in one function that can not be used by other function. Becuase the scope of that local variable with in the same function it has declared.
Question 3:
Answer: True
If you write a function above main method you dont need to write function prototype. If you write any function below the main() function then ou should specify the function prototype.
