Computer Applications
Give the prototype of a function search which receives a sentence 'sent' and word 'w' and returns 1 or 0.
Related Questions
Assertion (A): Static method can access static and instance variables.
Reason (R): Static variable can be accessed only by static method.
- Assertion and Reason both are correct.
- Assertion is true and Reason is false.
- Assertion is false and Reason is true.
- Assertion and Reason both are false.
Method which reverses a given number is:
- Impure method
- Pure method
- Constructor
- Destructor