Cognizant Interview Question

TR: Write a program and explain to print program file itself,to add 2 numbers using recursion,to print pattern,to implement stacks without arrays so on Given a table write queries