"During that film, his script used to be scribbled with notes. I used to take the scripts to him and asked him what it is? It was all his references, his homework. So we could just learn by looking at him," the 24-year-old said here Wednesday during a promotional event for 'Student of The Year'.
"He is an institution of acting, the way he functions, the way he goes about his work, you could just learn by looking at him," he added.
Shah Rukh is the co-producer of the forthcoming film 'Student of The Year', which marks the debut of David Dhawan's son Varun, filmmaker Mahesh Bhatt's daughter Alia Bhatt and model Siddharth Malhotra.
Siddharth, who was a clap boy on 'My Name Is Khan', also recalled how Shah Rukh used to dole out tips to the two.
"During the shooting of 'My Name Is Khan', he (Shah Rukh) came to know that we both wanted to act. I used to give the clap and and then sit down. He used to prepare his lines and then suddenly he used to start talking 'You should come early, see the props, touch things and feel them, look at your surroundings'," Siddharth said.
"Initially I did not understand who he was talking to and then I used to look up and realised that Sir (Shah Rukh) is telling me. Then a lot of times after the shooting he used to tell me and Varun how the scene came out or how to use actions and props," he added.
'Student of The Year' hits theatres Oct 19.