Given the following function prototype: double tryMe(double, double);, which of the following statements is valid? Assume that all variables are properly declared. a. cout << tryMe(tryMe(float, float), float); b. cin >> tryMe(x); c. cout << tryMe(tryMe(double, double), double); d. cout << tryMe(2.0, 3.0); {Ans: d. cout << tryMe(2.0, 3.0);}Which of the following will cause a logical error if you are attempting to compare x to 5? a. if (x <= 5) b. if (x >= 5) c. if (x = 5) d. if (x == 5) {Ans: c. if (x = 5)}Which statement below about prototypes and headers is true? a. Headers end with a semicolon, but prototypes do not. b. Headers should come before prototypes. c. Prototypes end with a semicolon, but headers do not. d. Parameter names must be listed in the prototype, but not necessarily in the header. {Ans: c. Prototypes end with a semicolon, but headers do not.}Suppose sum and num are int variables, and the input is 18 25 61 6 -1. What is the output of the following code? sum = 0; cin >> num; while (num != -1) { sum = sum + num; cin >> num; } cout <<