I have a simple function in C++ that checks whether a given element exists in a given array and return true or false accordingly. Here is an exampl
true
false