Ask Question
11 February, 04:08

Which of the following function headings arevalid? If they are invalid, explain why.

a. One (int a, intb) valid invalid

b. intThisOne (charx) valid invalid

c. char Another (int a, b) valid invalid

d. doubleYetAnother valid invalid

+2
Answers (1)
  1. 11 February, 05:45
    0
    a. invalid

    b. invalid

    c. invalid

    d. invalid

    Explanation:

    For option a return type of the function is not specified and there is no space between int and b.

    For option b there is no space between int and ThisOne and char and x. If there is space then this is valid.

    For option c data type of variable b is not specified.

    For option d if YetAnother function is without arguments then parenthesis should be there parenthesis are missing in this function heading.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Which of the following function headings arevalid? If they are invalid, explain why. a. One (int a, intb) valid invalid b. intThisOne ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers