Ask Question
19 September, 02:19

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.

+4
Answers (1)
  1. 19 September, 02:26
    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 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