Computer Science, asked by nikith11, 10 months ago

write the prototype of a function search which takes two arguments a string and a character and returns an integer value​

Answers

Answered by Lazarus
161

int search (String a,char b)

THIS IS THE ANSWER TO YOUR QUESTION.. HOPE THIS HELPS..☺️☺️

Answered by Anonymous
78

int search (string s, char a);

  • Prototype is the way of declaring a function even before defining it or calling it.

         Syntax: return_type function_name ( argument 1 , argument 2 , . . . ) ;

        int search (string s, char a);

  • The above prototype returns integer values.
  • Accepts two arguments. i) string named s ii) character named a.
  • Function name is " search " .

Similar questions