I can't seem to figure out how to set a string array equal to a particular character string. For example:
I know the above is not valid, but that is what I'm trying to do.Code:char yourname[40]; yourname = 'Will Ferrell';
I can't seem to figure out how to set a string array equal to a particular character string. For example:
I know the above is not valid, but that is what I'm trying to do.Code:char yourname[40]; yourname = 'Will Ferrell';