Computer Applications
Write a function prototype of the following:
A function PosChar which takes a string argument and a character argument and returns an integer value.
User Defined Methods
ICSE 2016
28 Likes
Answer
int PosChar(String s, char ch)
Answered By
18 Likes
Related Questions
Invoking a method by passing the objects of a class is termed as:
- Call by reference
- Call by value
- Call by method
- Call by constructor
Method prototype for the method compute which accepts two integer arguments and returns true/false.
- void compute (int a, int b)
- boolean compute (int a, int b)
- Boolean compute (int a,b)
- int compute (int a, int b)