Assume that $A$ and $B$ are real, symmetric, positive definite matrices of the same size, that is,
$$A \succ 0, B\succ 0.$$
Let $\operatorname{elmax(A,B)}$ be the element-wise maximum matrix, consisting of scalar maxima of elements of $A$ and $B$.
Is it always the case that
$$\operatorname{elmax}(A,B)\succ 0?$$
That is, does the element-wise maximum operation preserve positive definiteness?
No. A conterexample: take a small $\epsilon>0$ and define $$ A=\begin{bmatrix}1 & 1-\epsilon & 0\\1-\epsilon & 1 & 0\\0 & 0 & 1\end{bmatrix},\qquad B=\begin{bmatrix}1 & 0 & 0\\0 & 1 & 1-\epsilon\\0 & 1-\epsilon & 1\end{bmatrix}. $$ Both matrices are positive definite, but the element wise maximum $$ C=\begin{bmatrix}1 & 1-\epsilon & 0\\1-\epsilon & 1 & 1-\epsilon\\0 & 1-\epsilon & 1\end{bmatrix} $$ has a negative determinant (for small $\epsilon>0$).