Write a method prototype name check() which takes an integer argument and returns a char:

ICSE Class 10 Computer Applications PYQ · 2023 Paper · Section A

1(viii)1 Mark · 2023 · Section A · 2023 Paper

Write a method prototype name check() which takes an integer argument and returns a char:

Show SolutionHide Solution↓

char check (int x)

Reason — The prototype of a function is written in the given syntax:

return_type method_name(arguments)

Thus, the method has the prototype given below:

char check (int x)

← Previous questionNext question →

Browse the free Computer Applications sample bank