To find the largest element of an array in c plus plus?

1 answer

Answer

1148855

2026-07-12 07:20

+ Follow

int GetMaxElement( void * array)

{

if (array != 0)

{

return(max(array[], typeof(array)));

}

return(0);

}

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.