Cognizant interview question

Call by value, Call by reference, Memory allocation and then OOPS, Inheritance.