Speaking during a Mastertapes session at the BBC’s Maida Vale studios, attended by a star-studded audience, the former Beatles star described Kanye as an "inspiration" and a "crazy guy who comes up with great stuff".

He then recalled how media mogul Oprah - who has been an outspoken opponent of the use of the N-word - advised MCCartney against working with the rapper because of his repeated use of the controversial word throughout their song.

"I get this track back, a thing called All Day: he’s taken my melody and he’s made it seriously urban, which is funny because the lyrics use the N-word – a lot! ‘How long have you been at the mall?’ ‘All day, N-word!,'" said MCCartney.

West used a melody by the former Beatle from an unreleased song from 1969 which he was inspired to write, and play with two fingers on the guitar, after seeing a Picasso painting, reports The Radio Times.

“It’s a great record, sonically it’s brilliant, but quite a few people said, ‘You can’t be connected with this, there’s, like, 40 N-words!," he explained.

"People like Oprah, who’s a little conservative about that stuff, said, 'You shouldn’t do it, even black people shouldn’t use that word. I said, 'Yeah, but it’s Kanye! And he’s talking about an urban generation that uses that word in a completely different way.' It’s the context. So I was actually pleased with it."

MCCartney said he felt the repeated use of the N-word was justified in the context of the “urban generation” the rapper talks about in his lyrics.

Kanye and the rock veteran collaborated on the song in 2015, which he debuted at the 2015 Brit Awards ceremony in a memorable performance which saw the Black Skinhead rapper take to the stage with the leading lights of London's grime scene, including artists Skepta, Stormzy, and JME.

In 2009, Oprah Winfrey interviewed rap superstar Jay Z, another enthusiastic user of the N-word, and the two failed to agree on the issue of its modern day usage.

"I was once at a Jay Z concert, and there was a moment when everybody - including white people - was screaming the N-word. I gotta tell you, it didn’t make me feel good," the chat show host told the Big Pimpin' rapper.

"I believe that a speaker’s intention is what gives a word its power. And if we eliminate the N word, other words would just take its place... It’s a generational thing," Beyonce's husband responded.