Ask Question
28 October, 01:35

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

+5
Answers (1)
  1. 28 October, 02:59
    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?
Find 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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers