You are viewing a single comment's thread. Return to all comments →
It is called a ternary operator. There are a few component
max =
max < h[tempChar - 97]
h[tempChar - 97]
max
So it is functionally identical to
if (max < h[tempChar - 97]){ max = h[tempChar - 97]; } else { max = max; }
Personally I think it is a little redundant in this specific use case, but it can certainly be useful at times.
Seems like cookies are disabled on this browser, please enable them to open this website
Designer PDF Viewer
You are viewing a single comment's thread. Return to all comments →
It is called a ternary operator. There are a few component
max
So it is functionally identical to
Personally I think it is a little redundant in this specific use case, but it can certainly be useful at times.