all_of() Function

PHOTO EMBED

Sun May 26 2024 00:33:24 GMT+0000 (Coordinated Universal Time)

Saved by @ayushg103 #c++

all_of(v.begin(),v.end(),[](int x){return x>0;});
//it returns boolean value
content_copyCOPY