DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CPP
what is the short cut way to find the max and min element in an array in c++
cout
<<
*
max_element
(
arr
.
begin
(
)
,
arr
.
end
(
)
)
;
cout
<<
*
min_element
(
arr
.
begin
(
)
,
arr
.
end
(
)
)
;
PREVIOUS
NEXT
Tagged:
#short
#cut
#find
#max
#min
#element
#array
ADD COMMENT
Topic
COMMENT
Name
6+3 =
Submit