Velocity and acceleration vectors of charged particle moving perpendicular to the direction of a magnetic field at a given instant of time are $\overrightarrow v=2 \hat i+c \hat j$ and $\overrightarrow a=3 \hat i+4 \hat j$ respectively. Then the value of c is