#include &lt;iostream&gt;    #include &lt;algorithm&gt;    #include &lt;vector&gt;    using namespace std;    bool IsOdd &#40;int i&#41;    &#123;        return &#40;&#40;i % 2&#41; == 1&#41;;    &#125;    int main &#40;&#41;     &#123;        vector&lt;int&gt; myvector;        myvector.push_back&#40;10&#41;;        myvector.push_back&#40;25&#41;;        myvector.push_back&#40;40&#41;;        myvector.push_back&#40;55&#41;;        vector&lt;int&gt; :: iterator it = find_if &#40;myvector.begin&#40;&#41;,         myvector.end&#40;&#41;, IsOdd&#41;;        cout  &lt;&lt; *it &lt;&lt; '\n';        return 0;    &#125;
A. 10
B. 25
C. 40
D. 55
Answer:A
#include &lt;iostream&gt;    #include &lt;algorithm&gt;    #include &lt;vector&gt;    using namespace std;    bool IsOdd &#40;int i&#41;    &#123;        return &#40;&#40;i % 2&#41; == 1&#41;;    &#125;    int main &#40;&#41;     &#123;        vector&lt;int&gt; myvector;        myvector.push_back&#40;10&#41;;        myvector.push_back&#40;25&#41;;        myvector.push_back&#40;40&#41;;        myvector.push_back&#40;55&#41;;        vector&lt;int&gt; :: iterator it = find_if &#40;myvector.begin&#40;&#41;,         myvector.end&#40;&#41;, IsOdd&#41;;        cout  &lt;&lt; *it &lt;&lt; '\n';        return 0;    &#125;
A. 10 B. 25 C. 40 D. 55
Explanation:In this program, We used find_if method and returned the first odd value in the vector.