The given function is $g(x)=p\mid x\mid-qx^2$.
The value of the function at $x=0$ is $g(0) = p|0| - q(0)^2 = 0$.
To determine if $x=0$ is a point of local maximum or minimum, we need to analyze the sign of $g(x)$ for values of $x$ in a small neighborhood around 0.
We can rewrite the function for $x \neq 0$ as:
$g(x) = |x|(p - q|x|)$
For values of $x$ very close to 0, the term $|x|$ is very small. Consequently, the term $q|x|$ becomes negligible compared to the constant $p$ (assuming $p \neq 0$).
Therefore, for $x$ near 0, the sign of the expression $(p - q|x|)$ will be the same as the sign of $p$.
Since $|x|$ is always positive for $x \neq 0$, the sign of $g(x)$ near the origin is determined by the sign of $p$.
Case 1: $p \gt 0$
If $p \gt 0$, then for $x$ near 0, $g(x) \approx p|x|$. Since $p \gt 0$ and $|x| \gt 0$, we have $g(x) \gt 0$.
As $g(0) = 0$, we have $g(x) \gt g(0)$ in the neighborhood of $x=0$. This is the condition for a local minimum.
Case 2: $p \lt 0$
If $p \lt 0$, then for $x$ near 0, $g(x) \approx p|x|$. Since $p \lt 0$ and $|x| \gt 0$, we have $g(x) \lt 0$.
As $g(0) = 0$, we have $g(x) \lt g(0)$ in the neighborhood of $x=0$. This is the condition for a local maximum.
Now, let's evaluate the given options:
A. maximum when $p \gt 0,q \gt 0$: This is incorrect. If $p \gt 0$, the function has a minimum at $x=0$.
B. minimum when $p \lt 0,q \lt 0$: This is incorrect. If $p \lt 0$, the function has a maximum at $x=0$.
C. minimum when $p \gt 0,q \lt 0$: This is correct. If $p \gt 0$, the function has a minimum at $x=0$. The condition $q \lt 0$ is consistent with this. In fact, if $p \gt 0$ and $q \lt 0$, then $g(x) = p|x| + |q|x^2$, which is a sum of two non-negative terms, so $g(x) \ge 0 = g(0)$ for all $x$, making it a global minimum.
D. maximum when $p \gt 0,q \lt 0$: This is incorrect. If $p \gt 0$, the function has a minimum at $x=0$.
Thus, the only true statement is C.