They can ask you where you’re going and some general questions about what’s in your possession currently.
They can ask but I’m not answering. “I don’t answer questions. Am I free to go?”
Even before I learned not to talk to them, I’d answer them with non answers.
Cop: “where are you going?” 17 year old me: pointing forward “that way.” Cop: “OK… where are you coming from?” Me: pointing behind myself “That way.”