Ask Question
29 August, 00:54

Which of the following function prototypes is NOT valid? Select one: a. void doSomething (int& x, int y); b. void doSomething (int& x, int& y); c. void doSomething (int x, int y); d. void doSomething (int * x, int * y); e. All are valid.

+3
Answers (1)
  1. 29 August, 02:21
    0
    All the given prototypes are valid.

    Option: (E)

    Explanation:

    For a prototype enumerated in any given program to be valid, it has to follow a specific format that is registered in the directory of commands of the programming language. If the prototype fails to follow the guided format, the program would exhibit errors and may fail to run properly or may not at all run. It is primarily necessary for a developer to take care of the entry of prototypes to avoid program failures.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Which of the following function prototypes is NOT valid? Select one: a. void doSomething (int& x, int y); b. void doSomething (int& x, int& ...” in 📘 Social Studies 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