any_of() Function

PHOTO EMBED

Sun May 26 2024 00:34:27 GMT+0000 (Coordinated Universal Time)

Saved by @ayushg103 #c++

any_of(v.begin(),v.end(),[](int x){return x%2==0;});
//it returns boolean value
content_copyCOPY