4. It is a group of statements with a unique name (identifier) that together perform a specific task?
A. Function
B. procedure
C. loop
D. header files
Both function and procedure can be answers to this question, as they are groups of statements. In C++, the only difference between these terms is that function returns a value.
As the question does not mention anything about return value, the right answer should be B. procedure.
Comments
Leave a comment