Ask Question

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

+3
Answers (1)
  1. 18 August, 20:58
    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 & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers