In voltaic cell anode is designated as negative becoz metal undergoes dissolution at anode and left with negative charge and cathode positive becoz ions are getting deposited thus the flow of current is from cathode to anode in voltaic or galvanic cell
In case of electrolytic cell anode is designated as positive and cathode negative becoz here we are supplying external voltage