The Labour leader
said the world had “changed a lot” and he expected a gay PM in the future.

Clegg and Mr Miliband were responding to questions from Gay Times readers while the PM wrote an open letter for the latest edition of the publication, which will be published on Wednesday.

Asked if the public would accept a gay PM, Mr Clegg said: “Yes and why not?

“Being
gay doesn’t affect how you work, how you interact with people or how you make decisions.

"I’m confident that the British people would judge him or her on their ability to lead and be a good prime minister and not
on who they choose to share their life with.”

Mr Miliband said: “If
you think about the way the world has changed in the last 20 years since I was at college, we’ve seen the repeal of Section 28, we’ve seen civil partnerships, the lowering of the age of consent, equal marriage and that has been driven by change in social attitudes and that is why I
think absolutely it’s foreseeable to have a gay prime minister.”

He said: “I would have no issues at all if one of my boys told me that he liked another boy.

“It’s
not a choice, it’s who you are and I would love my boys regardless of their sexuality. I just hope that some day coming out to your parents
is
not going to be something you dread but something you will remember fondly.”

Mr Miliband added: “I would love them equally as much.”

In
his open letter, Mr Cameron said he was proud to be PM of a country judged to be the “best place to live in Europe if you are lesbian, gay, bisexual or trans(gender)”.