Give the prototype of a function search which receives a sentence sentnc and a word wrd and returns 1 or 0.

Short Answer
Views 11

Answer:

Prototype of the search function:


int search(String sentnc, String wrd);

This function receives a sentence (sentnc) and a word (wrd) and returns 1 if the word is found, otherwise 0.

Related Articles:

This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of Java Programming Language, click the links and dive deeper into this subject.

Join Our telegram group to ask Questions

Click below button to join our groups.