A 3/4-size violin typically has a longer string length (scale length) than a 1/2-size, so a 1/2 E string may be too short to reach the tuning peg with proper winding.
However, string lengths vary by maker and model. Some 3/4 instruments have shorter scales; some 1/2 strings have longer windings. The only reliable method: measure your instrument's vibrating string length (nut to bridge) and compare to the string package specs—or consult a luthier.
Using a too-short string risks insufficient winding on the peg (slippage) or inability to reach pitch. Using a too-long string wastes money and creates excess winding bulk. When in doubt, buy the correct size set.