write the prototype of a function search which takes two arguments a string and a character and returns an integer value
Answers
Answered by
161
int search (String a,char b)
THIS IS THE ANSWER TO YOUR QUESTION.. HOPE THIS HELPS..☺️☺️
Answered by
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
Business Studies,
5 months ago
Social Sciences,
10 months ago
English,
10 months ago
Biology,
1 year ago
Social Sciences,
1 year ago