My C++ program never accepts a char array and instead jumps to the next statement of accepting the marks . It neither displays the name.Can somebody solve my problem?
I am trying not to be rude but can you tell me why should that be? Shouldn't char arrays be accepted with gets() and not 'cin' since cin can only accept single characters. I tried cin.getline but got no success.