I don't like the other answers, because the root of the problem is that you did not understand the meaning of the so-called 'integration constant'.
$
\def\lfrac#1#2{{\large\frac{#1}{#2}}}
$
$\int f(x)\ dx$ denotes an anti-derivative of $f(x)$ with respect to $x$, namely an expression $g(x)$ that when differentiated with respect to $x$ gives $f(x)$. Symbolically you want to find $g(x)$ given that $\lfrac{d(g(x))}{dx} = f(x)$.
If you are given $f(x)$ and an anti-derivative $F(x)$ of $f(x)$, then you do have $\lfrac{d(F(x))}{dx} = f(x)$, but for any constant $c$ you also have $\lfrac{d(F(x)+c)}{dx} = \lfrac{d(F(x))}{dx} + \lfrac{dc}{dx}$ $= f(x) + 0 = f(x)$ by the basic properties of differentiation, and so you cannot determine $\int f(x)\ dx$ without having more information.
However, if $\lfrac{d(F(x))}{dx} = f(x)$ at every $x∈I$ where $I$ is some interval of the real line, then we can in fact conclude that $\int f(x)\ dx = F(x) + C$ for some constant $C$ (by something called Rolle's theorem). Take note, you do not know what constant $C$ is! Also, for any constant $k$, we have $k · \int f(x)\ dx = k · ( F(x) + C )$ $= k·F(x)+k·C$ for some constant $C$. Since we are always working with constants from a field $F$, and $\{ k·C : C∈F \} = F$, we also can deduce $k · \int f(x)\ dx = k·F(x)+D$ for some constant $D$.
As mentioned in a comment, you must actually know how the unknown constant 'propagates' to the final expression. For example, $\exp(\int f(x)\ dx) = \exp(F(x)+C)$ $= \exp(F(x))·\exp(C)$ for some constant $C$. If you are working in the reals, then $\exp(C) > 0$, so you can conclude that $\exp(\int f(x)\ dx) = \exp(F(x))·D$ for some constant $D > 0$. But if you are working in the complex numbers, then $\exp(C)$ can be any complex number except $0$, so you would instead conclude $\exp(\int f(x)\ dx) = \exp(F(x))·D$ for some constant $D ≠ 0$.