Which is better quality acc or m4a?

do you mean AC3 or M4A? They both are lossy formats, so try to encode a cd to both and listen to yourself which one you like better.