ICSE Class 10 Computer Applications Question 27 of 30

Solved Sample Paper 1 — Question 27

Back to all questions
27
Question

Question 2(vii)

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

Answer
boolean search(String sentc, String wrd)