Interviewer ask me what you will do if I shout on you?

During my entry level job, the interviewer asked me this question and i replied saying if u are shouting then there would be a reason for it.

He replied so you won’t take it personal and i replied no why would i? I’m working in a professional environment.

Did i said the right thing? Could there have been something better that i should have said?

View Reddit by Key-Opinion1608View Source