Can pass bool operater to function?

There are few questions about functions.

1-Can we pass bool operator to a function in C++?
2-Can return type be bool operator?
3-Can pass string to function?
e.g
bool mani(string i,bool j);


Yes.
Topic archived. No new replies allowed.