I know that an integral from $0$ to $x$ of a function of $x$ is itself a function, so I want to know if is there any condition of it to be discontinuous.
I haven't restrict $f(x)$ to be continuous or not, so I think that one needs to take both options. So if the integrand is continuous then the integral is too.